summaryrefslogtreecommitdiff
path: root/libgphoto2_port/usbdiskdirect
Commit message (Collapse)AuthorAgeFilesLines
* BSD_SOURCE defined changed to DEFAULT_SOURCEMarcus Meissner2018-06-171-1/+1
|
* removed incorrect ! from a error handling expressionMarcus Meissner2018-04-161-1/+1
| | | | fixes https://github.com/gphoto/gphoto2/issues/130
* Help editors treat as Makefiles all our Makefile-files filesHans Ulrich Niedermann2016-10-281-0/+2
|
* remove more unistd.h inclusions that are not neededMarcus Meissner2016-01-031-1/+0
|
* use gp_system_*dir functions instead of bare *dir functionsMarcus Meissner2016-01-031-5/+5
| | | | to help with https://github.com/gphoto/libgphoto2/issues/33
* From: Axel Waggershauser <awagger@web.de> ↵Marcus Meissner2014-07-221-4/+2
| | | | | | | | | | | | | here are the logging cleanup patches for the remaining libgphoto_port backend libs, that I announced earlier. 14 and 15 are equivalent to 3,4,5 as before. 16 removes 4 left instances of _(...) macro usage in log messages. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15106 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: Axel Waggershauser <awagger@web.de> ↵Marcus Meissner2014-07-221-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) introduce C_PARAMS and C_PARAMS_MSG along the lines of C_MEM 2) replace CHECK_NULL with C_PARAMS 3) replace the pattern if ( something ) return GP_ERROR_BAD_PARAMETERS; with C_PARAMS ( !something ); I went over the whole patch again to check that each 'something' condition is really inverted, so I dare to suggest you don't have to do that again ;). 4) replaced CHECK_LIST and CHECK_INDEX_RANGE with simple one-line C_PARAMS(...) expressions 5) a couple of hunks look like this - if (!inet_aton (buffer, &inp)) { - fprintf(stderr,"failed to scan for addr in %s\n", buffer); - return GP_ERROR_BAD_PARAMETERS; - } + C_PARAMS_MSG (inet_aton (buffer, &inp), so some 'lost' error messages get now properly piped into the gp_log mechanism. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15103 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: Axel Waggershauser <awagger@web.de> ↵Marcus Meissner2014-07-211-4/+2
| | | | | | | | | 2) don't check the pointer for NULL before calling free(), because free() checks it again. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15097 67ed7778-7388-44ab-90cf-0a291f65f57c
* From: Axel Waggershauser <awagger@web.de> ↵Marcus Meissner2014-07-211-5/+2
| | | | | | | | | | | here is a patch for (mostly) consistent usage of a generalized C_MEM macro for checking the return values of memory allocating functions, i.e. malloc, calloc, realloc and strdup. It is the C_MEM from libusb1.c, moved to gphoto2-port-log.h. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15096 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated fsf addressMarcus Meissner2014-01-011-2/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14611 67ed7778-7388-44ab-90cf-0a291f65f57c
* break loop on append error to avoid leaksMarcus Meissner2013-09-031-1/+4
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14542 67ed7778-7388-44ab-90cf-0a291f65f57c
* added #define _BSD_SOURCEMarcus Meissner2013-02-201-0/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14250 67ed7778-7388-44ab-90cf-0a291f65f57c
* added serial_libs to get -llockdevMarcus Meissner2012-08-121-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14090 67ed7778-7388-44ab-90cf-0a291f65f57c
* added missing $(INTLLIBS)Marcus Meissner2010-05-281-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13066 67ed7778-7388-44ab-90cf-0a291f65f57c
* header presence checksMarcus Meissner2010-04-211-3/+9
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13013 67ed7778-7388-44ab-90cf-0a291f65f57c
* include limits.hMarcus Meissner2010-04-211-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13011 67ed7778-7388-44ab-90cf-0a291f65f57c
* make it build rightMarcus Meissner2010-03-301-9/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12874 67ed7778-7388-44ab-90cf-0a291f65f57c
* actually let the other portlibs build too ;)Marcus Meissner2010-03-261-1/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12846 67ed7778-7388-44ab-90cf-0a291f65f57c
* added missing closedir()Marcus Meissner2010-03-201-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12800 67ed7778-7388-44ab-90cf-0a291f65f57c
* usbdiskdirect: Create a new port_info for each port scannedHans de Goede2010-03-181-1/+1
| | | | | | | Author: Hermann Kraus <hermr2d2@googlemail.com> git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12783 67ed7778-7388-44ab-90cf-0a291f65f57c
* new usbdiskdirect driverMarcus Meissner2010-03-132-0/+439
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12751 67ed7778-7388-44ab-90cf-0a291f65f57c