Jim Meyering
410f98fc2b
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
2005-07-02 08:41:46 +00:00
Jim Meyering
116e6fb244
Update FSF postal mail address.
2005-05-14 07:58:06 +00:00
Paul Eggert
bd6af0743d
(errno): Remove decl; we now assume C89 or better.
...
(safe_rw): Don't work around Tru64 bug unless the bug symptoms
manifest themselves. This allows us to do proper reads and writes
on other hosts, e.g., "dd" with a block size greater than 2**31.
2004-08-02 05:55:54 +00:00
Jim Meyering
b1b4af8047
Sync with gnulib.
2003-08-18 09:44:49 +00:00
Jim Meyering
c0ff7df8cb
Rework so that it may serve to define safe_write, too.
2002-12-04 07:50:55 +00:00
Jim Meyering
01d5814091
tweak comment
2002-12-03 12:02:19 +00:00
Jim Meyering
7570cb86a6
(EINTR): Define.
...
(safe_read): Rewrite to loop IFF read fails with EINTR.
2002-12-02 08:11:45 +00:00
Jim Meyering
32b9f22700
(safe_read): Also exit the loop when read returns zero.
2002-12-01 17:04:35 +00:00
Jim Meyering
b1cfe31057
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.
2002-12-01 12:04:17 +00:00
Jim Meyering
4c6c221ee2
Merge from gnulib.
2002-12-01 11:53:02 +00:00
Jim Meyering
e70e42fa66
(safe_read): Change type of function from ssize_t to size_t.
2002-10-06 14:55:01 +00:00
Jim Meyering
029b8ea75d
(safe_read): Make comment more precise: upon error, it returns -1.
2002-09-25 08:29:53 +00:00
Jim Meyering
51b6b653a2
back out Copyright date changes for files with no changes year
2000-08-07 15:48:18 +00:00
Jim Meyering
fde850f7ad
update copyright date
2000-07-09 07:22:43 +00:00
Jim Meyering
f89f495c0d
(safe_read): Change type of pointer parameter to
...
`void' to avoid Irix4 cc errors. Reported by Kaveh Ghazi.
1998-07-16 23:02:03 +00:00
Jim Meyering
b402870080
(noinst_HEADERS): Add safe-read.h.
1998-04-11 17:53:09 +00:00
Jim Meyering
1a7260cada
.
1996-10-10 04:14:40 +00:00
Jim Meyering
e8b07e3796
update FSF address in copyright
1996-07-15 03:36:16 +00:00
Jim Meyering
bf75b72e46
Indent nested CPP-directives.
1996-07-14 12:45:09 +00:00
Jim Meyering
9485d96553
See log in textutils/lib/.
1995-01-08 19:33:34 +00:00
Jim Meyering
5dd4159e77
(safe_read): Get this function from gcc's cccp.c.
1994-12-10 22:00:12 +00:00
Jim Meyering
f1ce35a10c
merge with 3.9h
1994-10-02 05:43:03 +00:00
Jim Meyering
ad82404564
.
1994-01-26 19:19:14 +00:00
Jim Meyering
f1adf86d09
merge with 3.9c
1994-01-26 18:46:41 +00:00
Jim Meyering
8067b6fb73
.
1993-12-29 06:13:37 +00:00