]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
*** empty log message *** cvs/libc-960904
authorThomas Bushnell, BSG <thomas@gnu.org>
Tue, 3 Sep 1996 22:24:21 +0000 (22:24 +0000)
committerThomas Bushnell, BSG <thomas@gnu.org>
Tue, 3 Sep 1996 22:24:21 +0000 (22:24 +0000)
Tue Sep  3 11:16:07 1996  Thomas Bushnell/ n/BSG  <thomas@gnu.ai.mit.edu>

* shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
  call to __libc_lock_lock.

* sysdeps/mach/hurd/send.c (__send): Declare BUF const.
* sysdeps/mach/hurd/sendto.c (sendto): Likewise.

* sysdeps/stub/ustat.c: Include <sys/ustat.h>.

* misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').

ChangeLog
misc/syslog.c
shadow/lckpwdf.c
sysdeps/mach/hurd/send.c
sysdeps/mach/hurd/sendto.c
sysdeps/stub/ustat.c

index 70a6b1c944fba6670e44489993a192f4323b9600..12724a5fb5e080d1e16d04da2611a5b608302a1c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Tue Sep  3 11:16:07 1996  Thomas Bushnell/ n/BSG  <thomas@gnu.ai.mit.edu>
+
+       * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
+       call to __libc_lock_lock.
+
+       * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
+       * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
+
+       * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
+
+       * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
+
 Fri Aug 30 19:55:27 1996  Ulrich Drepper  <drepper@cygnus.com>
 
        * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
index de159da9eeaae6ce3c48bddf14c531c1918ce8fb..9db16ca352f7335918f9c983c97502366c14debb 100644 (file)
@@ -131,7 +131,7 @@ vsyslog(pri, fmt, ap)
                                      __localtime_r (&now, &now_tm));
 #else
        f->__bufp += strftime (f->__bufp, f->__put_limit - f->__bufp,
-                              "%h %e %T ", __localtime_r (&now, &mow_tm));
+                              "%h %e %T ", __localtime_r (&now, &now_tm));
 #endif
        msgoff = ftell (f);
        if (LogTag == NULL)
index fb1c4b2e5e350bb04dbbc3fa2e34cdaff211b9dd..60cf2eecf75e5434f10b9c6a2443beb5931d1270 100644 (file)
@@ -157,7 +157,7 @@ __ulckpwdf ()
   else
     {
       /* Prevent problems caused by multiple threads.  */
-      __libc_lock_lock (&lock);
+      __libc_lock_lock (lock);
 
       result = close (lock_fd);
 
index 17fa66344f243cc2d235481aa92a88e76dc5a030..79d76fa367c52affc5a3a0fc7afd09dd7744b846 100644 (file)
@@ -26,7 +26,7 @@ Cambridge, MA 02139, USA.  */
 /* Send N bytes of BUF to socket FD.  Returns the number sent or -1.  */
 int
 DEFUN(__send, (fd, buf, n, flags),
-      int fd AND PTR buf AND size_t n AND int flags)
+      int fd AND const PTR buf AND size_t n AND int flags)
 {
   error_t err;
   int wrote;
index 3c08f198e0ec5caa54fbc990a3ab0c52170f4074..3621cd5dd53ca44d4e2c90bada4ad747def39af5 100644 (file)
@@ -29,7 +29,7 @@ Cambridge, MA 02139, USA.  */
    ADDR_LEN bytes long).  Returns the number sent, or -1 for errors.  */
 int
 DEFUN(sendto, (fd, buf, n, flags, addr, addr_len),
-      int fd AND PTR buf AND size_t n AND int flags AND
+      int fd AND const PTR buf AND size_t n AND int flags AND
       const struct sockaddr_un *addr AND size_t addr_len)
 {
   addr_port_t aport;
index 775389fb3960c61f3941d3daaa08a61c70cea8e0..c90bd36a9d5a8f2e1cb265fb2e3e4e1a8940963a 100644 (file)
@@ -19,6 +19,7 @@ Cambridge, MA 02139, USA.  */
 
 #include <unistd.h>
 #include <errno.h>
+#include <sys/ustat.h>
 
 int
 ustat (dev, ust)