about summary refs log tree commit diff
path: root/argp/argp-fmtstream.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-31 18:02:14 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-31 18:02:14 +0000
commit2698e32c2c2fae23c5c5f39f73b09553158b482d (patch)
tree0e512298c08ec97abc9fd9faa5e3fcffcf7191f5 /argp/argp-fmtstream.c
parentc3966b88eeb1e0b5726ca16a70a94269d40ee152 (diff)
downloadglibc-2698e32c2c2fae23c5c5f39f73b09553158b482d.tar.gz
glibc-2698e32c2c2fae23c5c5f39f73b09553158b482d.tar.xz
glibc-2698e32c2c2fae23c5c5f39f73b09553158b482d.zip
Update.
1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
	Add sys_setresuid.

1998-07-30  Mark Kettenis  <kettenis@phys.uva.nl>

	* sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
	as real name for system call and make setresuid a weak alias.  Set
	caller to seteuid.
	* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
	`setresuid' syscall if availble.  Fixes problems with sendmail
	which expects `seteuid' to not set the saved user ID.

1998-07-30 20:09 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* time/tzset.c (__tzstring): Get rid of excessive cleverness
	which was causing stack corruption.

1998-07-31 16:41 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
	off-by-one in wordwrap algorithm when there' a space at the
	beginning of the buffer.

1998-07-31 15:45  Ulrich Drepper  <drepper@cygnus.com>

	* Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
Diffstat (limited to 'argp/argp-fmtstream.c')
-rw-r--r--argp/argp-fmtstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/argp/argp-fmtstream.c b/argp/argp-fmtstream.c
index 05e9e21f06..1649f15cbb 100644
--- a/argp/argp-fmtstream.c
+++ b/argp/argp-fmtstream.c
@@ -213,10 +213,10 @@ __argp_fmtstream_update (argp_fmtstream_t fs)
 	  if (nextline > buf)
 	    {
 	      /* Swallow separating blanks.  */
-	      if (p > buf)
+	      if (p >= buf)
 		do
 		  --p;
-		while (p > buf && isblank (*p));
+		while (p >= buf && isblank (*p));
 	      nl = p + 1;	/* The newline will replace the first blank. */
 	    }
 	  else