]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
authorRoland McGrath <roland@gnu.org>
Wed, 19 Jan 2005 19:26:29 +0000 (19:26 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 19 Jan 2005 19:26:29 +0000 (19:26 +0000)
in assert.
* iconv/strtab.c (strtabfinalize): Likewise.

* libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.

ChangeLog
hurd/sigunwind.c
iconv/strtab.c
libio/iofopncook.c

index 3735a8a94fc9c787ff8738a0990c3b7fcc39ec48..d87d4dfef9a708c2f3b62bb36ad19140cec9c502 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-01-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
+       in assert.
+       * iconv/strtab.c (strtabfinalize): Likewise.
+
+       * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
+
 2005-01-17  Roland McGrath  <roland@redhat.com>
 
        * nscd/Makefile (LDLIBS-nscd): New variable.
index 450a385a2abf3f339ef72a130b0d95388dd0fe14..1c6489b3b320b6249da9a4e9c9afaf2964583981 100644 (file)
@@ -1,5 +1,5 @@
 /* longjmp cleanup function for unwinding past signal handlers.
-   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -111,7 +111,7 @@ _hurdsig_longjmp_from_handler (void *data, jmp_buf env, int val)
       link = (void *) &scp[1];
       assert (! link->resource.next && ! link->resource.prevp);
       assert (link->thread.next == ss->active_resources);
-      assert (link->thread.prevp = &ss->active_resources);
+      assert (link->thread.prevp == &ss->active_resources);
       if (link->thread.next)
        link->thread.next->thread.prevp = &link->thread.next;
       ss->active_resources = link;
index e6feb2cf24a79803198e746370c1e63ef4e0c080..4a8f29a67577c77d4c06386325821fd5a8a39e53 100644 (file)
@@ -1,5 +1,5 @@
 /* C string table handling.
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2005 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@redhat.com>, 2000.
 
    This program is free software; you can redistribute it and/or modify
@@ -326,7 +326,7 @@ strtabfinalize (struct Strtab *st, size_t *size)
   copylen = 1;
   copystrings (st->root, &endp, &copylen);
   assert (copylen == st->total + 1);
-  assert (endp = retval + st->total + 1);
+  assert (endp == retval + st->total + 1);
   *size = copylen;
 
   return retval;
index eba3d435dcfa5254cce226351c32db3f7c60269c..9c5503d1f2741986e215cd50a0e02e148be0e3cd 100644 (file)
@@ -37,6 +37,8 @@ static _IO_ssize_t _IO_cookie_read (register _IO_FILE* fp, void* buf,
 static _IO_ssize_t _IO_cookie_write (register _IO_FILE* fp,
                                     const void* buf, _IO_ssize_t size);
 static _IO_off64_t _IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir);
+static _IO_off64_t _IO_cookie_seekoff (_IO_FILE *fp, _IO_off64_t offset,
+                                      int dir, int mode);
 static int _IO_cookie_close (_IO_FILE* fp);
 
 static _IO_ssize_t