mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 23:35:50 +00:00
a4fd2b6fbc
* 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.
30 lines
363 B
Plaintext
30 lines
363 B
Plaintext
Description:
|
|
An interface to the write() function that retries after interrupts.
|
|
|
|
Files:
|
|
lib/safe-write.h
|
|
lib/safe-write.c
|
|
lib/safe-read.c
|
|
lib/sys-limits.h
|
|
m4/safe-write.m4
|
|
m4/safe-read.m4
|
|
|
|
Depends-on:
|
|
ssize_t
|
|
write
|
|
|
|
configure.ac:
|
|
gl_PREREQ_SAFE_WRITE
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += safe-write.c
|
|
|
|
Include:
|
|
"safe-write.h"
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Jim Meyering
|