]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 17 Dec 1998 13:58:32 +0000 (13:58 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 17 Dec 1998 13:58:32 +0000 (13:58 +0000)
* sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
* libio/oldtmpfile.c: Likewise.
* libio/oldiofdopen.c: Use __fcntl instead fcntl.
* sysdeps/posix/profil.c: Use __sigaction instead of sigaction.

* login/login.c: Determine pts/3 as terminal name if path is

ChangeLog
libio/oldiofdopen.c
libio/oldtmpfile.c
sunrpc/clnt_unix.c
sysdeps/posix/profil.c

index e2ec7ee32dedb955d97118bc69db3af85c219921..cf9499c949897dc98c5c652b7afdf10f5ea93893 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 1998-12-17  Ulrich Drepper  <drepper@cygnus.com>
 
+       * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
+       * libio/oldtmpfile.c: Likewise.
+       * libio/oldiofdopen.c: Use __fcntl instead fcntl.
+       * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
+
        * iconvdata/iso646.c (gconv_init): Return correct error value if we
        run out of memory.
        * iconvdata/iso-2022-jp.c: Likewise.
@@ -16,7 +21,7 @@
 
 1998-12-17  Ulrich Drepper  <drepper@cygnus.com>
 
-       * login/login.c: Determine pts/3 and terminal name if path is
+       * login/login.c: Determine pts/3 as terminal name if path is
        /dev/pts/3.  This is consistent with getlogin.  [PR libc/906]
 
 1998-12-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
index e9c18d932b5bc672eb3f6916c1bbc34b4821d345..0e015226ccab73bc9a3be60bc7e2d4e7fc5240ba 100644 (file)
 
 #define _IO_USE_OLD_IO_FILE
 #ifdef __STDC__
-#include <stdlib.h>
+# include <stdlib.h>
 #endif
 #include "libioP.h"
 #include <fcntl.h>
 
 #ifndef _IO_fcntl
-#define _IO_fcntl fcntl
+# define _IO_fcntl __fcntl
 #endif
 
 _IO_FILE *
index 72437fea0f4ea76e4530a1db9839eefe3135b515..40395bf9c27ca71b285e06c04402715afcf4b873 100644 (file)
@@ -43,7 +43,7 @@ __old_tmpfile (void)
   (void) remove (buf);
 
   if ((f = _IO_old_fdopen (fd, "w+b")) == NULL)
-    close (fd);
+    __close (fd);
 
   return f;
 }
index cead72b761249bf9735e876d87de74ac3dd3531f..923dd8a0708fe0a060c072c1157146eaf4155e54 100644 (file)
@@ -427,7 +427,7 @@ clntunix_destroy (CLIENT *h)
 
   if (ct->ct_closeit)
     {
-      (void) close (ct->ct_sock);
+      (void) __close (ct->ct_sock);
     }
   XDR_DESTROY (&(ct->ct_xdrs));
   mem_free ((caddr_t) ct, sizeof (struct ct_data));
index 6c8adbcd0bb68c6a28c34a2fdc5120b2b533bdc6..f4f0acd7fcd7599bf3992fc7a89a8222ce07a7c8 100644 (file)
@@ -77,7 +77,7 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
       if (__setitimer (ITIMER_PROF, &otimer, NULL) < 0)
        return -1;
       samples = NULL;
-      return sigaction (SIGPROF, &oact, NULL);
+      return __sigaction (SIGPROF, &oact, NULL);
     }
 
  if (samples)
@@ -85,7 +85,7 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
       /* Was already turned on.  Restore old timer and signal handler
         first.  */
       if (__setitimer (ITIMER_PROF, &otimer, NULL) < 0
-         || sigaction (SIGPROF, &oact, NULL) < 0)
+         || __sigaction (SIGPROF, &oact, NULL) < 0)
        return -1;
     }
 
@@ -97,7 +97,7 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
   act.sa_handler = (sighandler_t) &profil_counter;
   act.sa_flags = SA_RESTART;
   sigfillset (&act.sa_mask);
-  if (sigaction (SIGPROF, &act, &oact) < 0)
+  if (__sigaction (SIGPROF, &act, &oact) < 0)
     return -1;
 
   timer.it_value.tv_sec = 0;