lib/safe-read.c


Log

Author Commit Date CI Message
Bruno Haible 9516d965 2003-01-08T18:42:38 Include specification first.
Jim Meyering b5655547 2002-12-04T08:02:56 Rework so that it may serve to define safe_write, too.
Jim Meyering 7f70cfc6 2002-12-03T10:59:09 (safe_read): Change comment to mention SAFE_READ_ERROR.
Jim Meyering 32c761fe 2002-12-03T10:55:51 safe-read.c, safe-write.c: Change variable names and comments, but not semantics, to minimize the differences between these two files.
Jim Meyering 3336e16f 2002-12-03T09:48:14 (IS_EINTR): Define. (safe_read): Use IS_EINTR in place of in-function cpp directives.
Bruno Haible 2cb98f7c 2002-12-02T18:53:53 Synchronize safe-write with safe-read.
Jim Meyering 9b59e362 2002-12-02T17:31:49 (EINTR): Define. (safe_read): Rewrite to iterate IFF the read fails with EINTR.
Jim Meyering e325242e 2002-12-01T21:40:08 (safe_read): Also exit the loop when read returns zero. (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.
Bruno Haible 849efe76 2002-11-22T16:25:53 Orthogonal approach to read()/write() that handles EINTR and counts > 2^31 correctly.
Jim Meyering 89f2b489 2000-08-07T15:48:18 back out Copyright date changes for files with no changes year
Jim Meyering d349992d 2000-07-09T07:22:43 update copyright date
Jim Meyering 19679ec8 1998-07-16T23:02:03 (safe_read): Change type of pointer parameter to `void' to avoid Irix4 cc errors. Reported by Kaveh Ghazi.
Jim Meyering 105aa815 1998-04-11T17:53:09 (noinst_HEADERS): Add safe-read.h.
Jim Meyering e04aaa3d 1996-10-10T04:14:40 .
Jim Meyering 6d8337bf 1996-07-15T03:36:16 update FSF address in copyright
Jim Meyering 9730c386 1996-07-14T12:45:09 Indent nested CPP-directives.
Jim Meyering 96dcb4e9 1995-01-08T19:33:34 See log in textutils/lib/.
Jim Meyering 5201e892 1994-12-10T22:00:12 (safe_read): Get this function from gcc's cccp.c.
Jim Meyering 300424a2 1994-10-02T05:43:03 merge with 3.9h
Jim Meyering 14b8b11f 1994-01-26T19:19:14 .
Jim Meyering 1934bbba 1994-01-26T18:46:52 merge with 3.9c
Jim Meyering 811a26c8 1993-12-29T06:13:37 .