lib/addext.c


Log

Author Commit Date CI Message
Jim Meyering a9000fb0 2001-08-13T06:30:10 (<errno.h>): Include. (errno): Declare if not defined. (addext): Work correctly when pathconf returns -1 and leaves errno alone because there is no limit. Also, work even if pathconf returns a value greater than SIZE_MAX.
Jim Meyering 94ce07b0 2001-05-12T15:40:47 Use "", not <> to include non-system header files.
Jim Meyering 7b74fddf 2001-05-12T14:13:36 (ISSLASH, base_name): Remove; now in dirname.h. Include <dirname.h> after size_t is defined. (addext): Use base_len to trim redundant trailing slashes instead of doing it ourselves. But do not trim the last slash if it is not redundant.
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 1cc6c3e3 1999-01-16T16:04:43 (base_name): Declare.
Jim Meyering a4b08c64 1998-12-31T14:56:20 (addext): Protoize. Indent cpp directives to match nesting.
Jim Meyering 9f8993a0 1997-05-27T10:30:45 Update from patch-2.2.93.