1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 23:35:50 +00:00

23 Commits

Author SHA1 Message Date
Bruno Haible 1b343b87f9 Tweak doc. 2007-05-14 21:36:29 +00:00
Jim Meyering 526b71aa90 * lib/linebuffer.c (readlinebuffer_delim): New function,
like readlinebuffer, but use a caller-specified delimiter.
(readlinebuffer): Just call readlinebuffer_delim with '\n'
as the delimiter.
* lib/linebuffer.h (readlinebuffer_delim): Declare it.
2007-05-12 15:59:59 +00:00
Paul Eggert 0632e11574 * _fpending.c: Include <config.h> unconditionally, since we no
longer worry about uses that don't define HAVE_CONFIG_H.
* acl.c, alloca.c, argmatch.c, atexit.c, backupfile.c:
* basename.c, c-stack.c, c-strtod.c, calloc.c, canon-host.c:
* canonicalize.c, chdir-long.c, chdir-safer.c, chown.c:
* cloexec.c, close-stream.c, closeout.c, creat-safer.c:
* cycle-check.c, diacrit.c, dirchownmod.c, dirfd.c, dirname.c:
* dup-safer.c, dup2.c, error.c, euidaccess.c, exclude.c:
* exitfail.c, fchmodat.c, fchown-stub.c, fd-safer.c:
* file-type.c, fileblocks.c, filemode.c, filenamecat.c:
* fnmatch.c, fopen-safer.c, fprintftime.c, free.c, fsusage.c:
* ftruncate.c, fts-cycle.c, fts.c, full-write.c, gai_strerror.c:
* getcwd.c, getdate.y, getdomainname.c, getgroups.c:
* gethostname.c, gethrxtime.c, getloadavg.c, getlogin_r.c:
* getndelim2.c, getnline.c, getopt.c, getopt1.c, getpass.c:
* gettime.c, gettimeofday.c, getugroups.c, getusershell.c:
* glob.c, group-member.c, hard-locale.c, hash-pjw.c, hash.c:
* human.c, idcache.c, inet_ntop.c, inet_pton.c, inttostr.c:
* isdir.c, lchown.c, linebuffer.c, long-options.c, lstat.c:
* malloc.c, md5.c, memcasecmp.c, memchr.c, memcmp.c, memcoll.c:
* memcpy.c, memmove.c, memrchr.c, mkancesdirs.c, mkdir-p.c:
* mkdir.c, mkdirat.c, mkstemp-safer.c, mkstemp.c, modechange.c:
* mountlist.c, nanosleep.c, obstack.c, open-safer.c:
* openat-die.c, openat.c, pagealign_alloc.c, physmem.c:
* pipe-safer.c, posixtm.c, posixver.c, putenv.c, quote.c:
* quotearg.c, raise.c, readtokens.c, readtokens0.c, readutmp.c:
* realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, safe-read.c:
* same.c, save-cwd.c, savedir.c, setenv.c, settime.c, sha1.c:
* sig2str.c, snprintf.c, strdup.c, strerror.c, strftime.c:
* stripslash.c, strndup.c, strnlen.c, strpbrk.c, strtod.c:
* strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c:
* timegm.c, tmpfile-safer.c, unlinkdir.c, userspec.c, utime.c:
* utimecmp.c, utimens.c, version-etc-fsf.c, version-etc.c:
* xalloc-die.c, xgetcwd.c, xgethostname.c, xmalloc.c:
* xmemcoll.c, xnanosleep.c, xreadlink.c, xstrtod.c:
* xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
Likewise.
2006-09-13 22:38:14 +00:00
Paul Eggert 267a39bafd *** empty log message *** 2005-05-14 06:03:57 +00:00
Paul Eggert 917752adb1 Remove dependencies on unlocked-io. 2004-10-04 20:17:39 +00:00
Jim Meyering 3aa5630a7e Include <string.h> for declaration of memset. 2003-10-31 13:53:15 +00:00
Paul Eggert 0c0be7e546 Simplify the code by using new xalloc.h features. 2003-10-30 00:36:03 +00:00
Paul Eggert b5f4d75d11 (freebuffer): Don't free the argument, just the buffer associated with
the argument.  Bug reported by Simon Josefsson.
2003-09-24 20:56:42 +00:00
Paul Eggert 73bb09bd01 linebuffer.c (readlinebuffer): Return NULL immediately upon input error. 2003-09-16 20:00:38 +00:00
Paul Eggert a9b64ea6a9 Include <stdlib.h>.
(free): Remove decl.
2003-09-09 21:51:00 +00:00
Paul Eggert 7987825e32 (readlinebuffer): Renamed from readline.
All uses changed.
2003-01-13 07:09:16 +00:00
Jim Meyering 9d2aa9f846 Remove explicit declarations of xmalloc and xrealloc,
Instead, include "xalloc.h".
(initbuffer): Don't cast xmalloc return value to char*.
(readline): Reword comment.
Don't cast xrealloc return value to char*
Return NULL, not 0.
2001-12-10 00:13:36 +00:00
Jim Meyering 92f1833aff Include unlocked-io.h. 2001-11-17 13:29:42 +00:00
Jim Meyering 89f2b48926 back out Copyright date changes for files with no changes year 2000-08-07 15:48:18 +00:00
Jim Meyering d349992d82 update copyright date 2000-07-09 07:22:43 +00:00
Jim Meyering 320276634c (readline): Do not leave room for an extra
byte after the newline; it's no longer needed.
1999-11-04 23:12:42 +00:00
Jim Meyering d59ff2bd82 Include <sys/types.h> now that linebuffer.h uses
size_t.  This is required on at least SunOS4.  From Kaveh Ghazi.
1999-07-30 19:29:27 +00:00
Jim Meyering 9d80c0d494 (readline): Leave room for an extra byte
after the newline; comm needs this for memcoll.
1999-07-04 10:31:01 +00:00
Jim Meyering ade79def12 (readline): Append trailing newline to line. 1999-07-04 10:06:42 +00:00
Jim Meyering 04e03d5023 Ansideclify. 1998-08-03 03:03:11 +00:00
Jim Meyering 069ca37778 *** empty log message *** 1998-08-03 03:02:20 +00:00
Jim Meyering 1319257909 (readline): Return zero upon error as well as upon
end of file.  From James Youngman.
1998-08-03 03:02:04 +00:00
Jim Meyering 87e2683e04 Initial revision 1992-11-08 02:50:44 +00:00