about summary refs log tree commit diff
path: root/lib/util
Commit message (Collapse)AuthorAgeFilesLines
* Add 'drand1', 'drand1'giraffedata2023-10-172-24/+56
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4760 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix compile error -- wrong interface to snprintf -- on systems without asprintfgiraffedata2023-09-281-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4704 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2023-09-2014-85/+85
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4672 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* whitespacegiraffedata2023-08-291-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4621 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* cleanupgiraffedata2023-08-273-81/+12
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4619 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add _C99_SOURCE in an attempt to get it to compile on macOS Ventura Xcode 14.3giraffedata2023-05-181-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4552 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* cleanupgiraffedata2023-02-231-29/+49
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4504 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* cleanupgiraffedata2023-02-231-19/+28
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4503 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Make internal 'snprintf', 'vsnprintf' just wrap libc 'snprintf', 'vsnprintf'giraffedata2022-08-222-682/+29
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4419 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix commentsgiraffedata2022-08-181-26/+5
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4417 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix commentsgiraffedata2022-08-181-6/+3
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4416 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* fix commentgiraffedata2022-07-281-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4369 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Replace vestigial uses of MEMEQ macro with memeq inline functiongiraffedata2022-06-081-2/+0
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4351 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Fix MEMSEQgiraffedata2022-06-081-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4350 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* improve commentgiraffedata2022-06-081-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4349 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* cleanupgiraffedata2022-05-201-18/+16
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4338 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add recent enhancements to list of changes; add warnings about sloppy use of ↵giraffedata2022-02-261-4/+14
| | | | | | argv git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4283 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add pm_rand32giraffedata2021-12-182-5/+43
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4205 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Change description of license per Martinec's current offer of GPL for this codegiraffedata2021-05-011-18/+10
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4097 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Use 'rand' instead of 'random' on Windowsgiraffedata2021-04-031-0/+5
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4083 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Add missing includesgiraffedata2021-03-272-0/+10
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4070 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* Use Mersenee Twister instead of libc rand for random numbersgiraffedata2021-03-066-0/+633
| | | | git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4033 9d0c8265-081b-0410-96cb-a4ca84ce46f8
* 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