Skip to content

Please pull from my fork#1

Closed
LudovicRousseau wants to merge 9 commits intosignal11:masterfrom
LudovicRousseau:master
Closed

Please pull from my fork#1
LudovicRousseau wants to merge 9 commits intosignal11:masterfrom
LudovicRousseau:master

Conversation

@LudovicRousseau
Copy link
Copy Markdown
Contributor

Alan,

I now try to use github. I have 2 commits ahead of your repository. Please pull from my repo.

If you prefer patches by mail instead just tell me.

Ludovic Rousseau and others added 9 commits November 19, 2010 08:46
Avoids a crash if libusb_get_active_config_descriptor() returns with an
error code.
kCFNumberSInt32Type is expecting a Thirty-two-bit, signed integer.
long is 64-bits on a 64-bits CPU so is the source of problems,
especially on a big endian CPU.
The problem is that the file descriptor 1 used by printf() may not be
stdout but somethink else. For example a daemon may close fds 0, 1 and 2
and reuse them to open files or sockets. So using printf() may send data
on a file or socket opened by the application.

Errors will now be logged to stderr only if DEBUG_PRINTF is defined.
Use the classic
 #ifndef __HIDAPI_H__
 #define __HIDAPI_H__
 ...
 #endif
Use HIDAPI_H__ instead of __HIDAPI_H__
Do not fail if the files to remove do not exist
*.o does not match ../hidtest/hidtest.o so we must use an explicit list
of .o file names
@LudovicRousseau
Copy link
Copy Markdown
Contributor Author

Now merged.

signal11 pushed a commit that referenced this pull request Sep 20, 2016
Problem reported by the Coverity tool

CID 1042532 (#1 of 1): Unchecked return value from library
(CHECKED_RETURN)2. check_return: Calling function
"fstat(dev->device_handle, &s)" without checking return value. This
library function may fail and return an error code.
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant