summaryrefslogtreecommitdiff
path: root/lib/sys-limits.h
Commit message (Collapse)AuthorAgeFilesLines
* Put LGPLv2+ notices in source files where appropriate.Bruno Haible2021-06-041-8/+8
| | | | | * lib/**.{h,c,gperf}: Use LGPLv2+ notice whenever the module description says so.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* safe-read, safe-write: Fix conflict with Illumos-Joyent <sys/limits.h>.Bruno Haible2019-01-041-2/+2
| | | | | | Reported by Andy Fiddaman <andy@omniosce.org>. * lib/sys-limits.h: Add a '_GL' prefix to the guard symbol.
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* sys-limits.h: new file for crypto and safe I/OPaul Eggert2018-05-051-0/+42
* lib/af_alg.c: Include sys-limits.h. (MAX_RW_COUNT): Remove. Use replaced by SYS_BUFSIZE_MAX. (afalg_stream): Also reject negative sizes for sendfile; they should not happen and the code is a bit cleaner and faster this way. * lib/safe-read.c: Include sys-limits.h. (BUGGY_READ_MAXIMUM): Remove. All uses replaced by SYS_BUFSIZE_MAX. * lib/sys-limits.h: New file, with values and commentary derived from the old safe-read.c and from GNU Emacs sysdep.c. * modules/crypto/md5, modules/crypto/sha1, modules/crypto/sha256: * modules/crypto/sha512, modules/safe-read, modules/safe-write: Add lib/sys-limits.h to Files section.