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.
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>
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));
if (__setitimer (ITIMER_PROF, &otimer, NULL) < 0)
return -1;
samples = NULL;
- return sigaction (SIGPROF, &oact, NULL);
+ return __sigaction (SIGPROF, &oact, NULL);
}
if (samples)
/* 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;
}
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;