about summary refs log tree commit diff
path: root/lib/util
Commit message (Collapse)AuthorAgeFilesLines
* Whoops, warnings are actually worse; revert previous commitgiraffedata2020-06-071-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3853 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* silence compiler warningsgiraffedata2020-06-071-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3850 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* clean up mallocProduct, reallocProduct codegiraffedata2020-04-251-12/+23
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3794 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Use SIZE_MAX instead of UINT_MAX for max size_tgiraffedata2020-04-221-13/+24
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3793 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add pm_string_to_int, pm_string_to_longgiraffedata2020-03-142-22/+68
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3747 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix typos in comments and messages, whitespacegiraffedata2019-12-293-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3726 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* remove --help from examplesgiraffedata2019-08-181-7/+4
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3660 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Make shhopt 'specified' output boolean instead of a countgiraffedata2019-05-262-7/+15
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3620 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2019-05-261-9/+9
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3617 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2019-03-151-17/+17
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3571 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix handling of floating point imprecision in unnormalizing samplesgiraffedata2019-01-201-5/+7
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3514 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add epsilon before rounding, to take care of fractions that should be exactlygiraffedata2019-01-131-1/+6
| | | | | | | half but are slightly less because of imprecision in floating point arithmetic git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3499 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* improve commentsgiraffedata2018-11-011-18/+20
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3408 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2018-06-271-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3272 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2018-06-271-9/+9
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3271 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* merge pm_interpret_uint, pm_string_to_uintgiraffedata2018-06-042-57/+23
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3262 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* fix typo in commentgiraffedata2018-04-261-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3215 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2018-04-251-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3208 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Recognize _XOPEN_SOURCE 500 as another way of requesting strcasecmpgiraffedata2018-04-251-4/+10
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3207 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2018-02-281-29/+29
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3158 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add pm_strnlen because Mac OSX before 10.7, at least, does not have itgiraffedata2018-01-202-0/+17
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3125 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2018-01-201-18/+18
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3123 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix various incorrect output problemsgiraffedata2017-09-102-21/+49
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3054 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* add pm_string_to_uint()giraffedata2017-06-092-0/+45
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2990 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Remove vestigial wordint facilitygiraffedata2017-04-266-280/+0
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2968 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix commentgiraffedata2017-04-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2940 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Document OPT_STRINGLISTgiraffedata2017-04-051-6/+19
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2939 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add missing includegiraffedata2017-02-211-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2901 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add poorly-named _DEFAULT_SOURCE to all files that had _BSD_SOURCE or ↵giraffedata2016-11-161-0/+1
| | | | | | _SVID_SOURCE, because for some reason GNU C library is replacing the latter with the former. This eliminates compiler warnings about _BSD_SOURCE/_SVID_SOURCE being deprecated git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2836 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Recognize GCC 2.95.3 has stdboolgiraffedata2016-10-021-2/+4
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2833 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* cleanupgiraffedata2016-05-081-2/+0
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2765 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Include initializing of option_def_index in OPTENTRYINIT to make it easier ↵giraffedata2016-05-021-1/+4
| | | | | | to use and avoid set-but-not-used compiler warning git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2732 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* cleanup: factor out runlength encodinggiraffedata2015-07-033-0/+426
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2600 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Move bitio.h to util/bitio.hgiraffedata2015-06-213-0/+297
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2560 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix buffer overrungiraffedata2015-05-231-26/+36
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2513 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix syntax errorgiraffedata2015-01-231-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2395 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* fix typo in commentgiraffedata2015-01-011-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2361 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add commentgiraffedata2014-11-221-0/+6
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2321 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix %g for platform without vasprintf (but scores of %f still exist)giraffedata2014-11-223-4/+24
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2320 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* cleanupgiraffedata2014-11-211-30/+41
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2317 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* cleanupgiraffedata2014-11-211-16/+14
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2316 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Declare _XOPEN_SOURCE >= 500 to make strdup definedgiraffedata2014-08-241-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2257 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Remove ambiguous, incorrect use of 'support'giraffedata2014-06-261-2/+0
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2212 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix: wrong check or no check for asprintf/vasprintf failuregiraffedata2013-11-282-4/+9
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2041 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Use SSE stuff with Clang as for GCCgiraffedata2013-10-301-4/+7
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2027 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix compiler warning on system without vasprintfgiraffedata2013-10-171-3/+6
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2016 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Remove redefinition of HAVE_VASPRINTFgiraffedata2013-10-171-6/+0
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2015 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2013-10-171-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2014 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix compile failure for big-endian machinegiraffedata2013-10-061-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2008 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add %f capabilitygiraffedata2013-07-261-2/+17
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1995 9d0c8265-081b-0410-96cb-a4ca84ce46f8