]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 29 Apr 1999 13:19:45 +0000 (13:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 29 Apr 1999 13:19:45 +0000 (13:19 +0000)
1999-04-29  Ulrich Drepper  <drepper@cygnus.com>

* nss/getXXbyYY_r.c: Include assert.h.
* nss/getXXbyYY.c: Likewise.

ChangeLog
nss/getXXbyYY.c
nss/getXXbyYY_r.c
termios/tcgetsid.c

index 4ed99ec8159d0c6f1d4856a822dde7124e786a22..f4ec41e7412c4eba0c16f5e32eecd2468d4086bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
+
+       * nss/getXXbyYY_r.c: Include assert.h.
+       * nss/getXXbyYY.c: Likewise.
+
 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
        * termios/tcgetsid.c (tcgetsid): Rename variable to
index a79fd08fef734ac3310e1f0c7929546f0b5337f4..16f01dedf229bb01de0bce381b346151d539eee2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 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
@@ -16,6 +16,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <assert.h>
 #include <errno.h>
 #include <bits/libc-lock.h>
 #include <stdlib.h>
index 33b4fc94e8a38a09aae09d93aab954dbe4222b1e..7b10304a325293469851f2519db30df8c15bcbcd 100644 (file)
@@ -17,6 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <assert.h>
 #include <errno.h>
 #include "nsswitch.h"
 #ifdef USE_NSCD
index aab72f9a62620f6a2bf86a3eeda9fbafa663c805..f4cc6a7a9e19d6cff5387db5ce9828ec7a5509ec 100644 (file)
@@ -30,9 +30,9 @@ tcgetsid (fd)
   pid_t pgrp;
   pid_t sid;
 #ifdef TIOCGSID
-  static int tiocgsid_does_not_works;
+  static int tiocgsid_does_not_work;
 
-  if (! tiocgsid_does_not_works)
+  if (! tiocgsid_does_not_work)
     {
       int serrno = errno;
       int sid;
@@ -41,7 +41,7 @@ tcgetsid (fd)
        {
          if (errno == EINVAL)
            {
-             tiocgsid_does_not_works = 1;
+             tiocgsid_does_not_work = 1;
              __set_errno (serrno);
            }
          else