mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
*** empty log message ***
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').
This commit is contained in:
12
ChangeLog
12
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>
|
Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* libio/genops.c: Make _cleanup an alias of _IO_cleanup.
|
* libio/genops.c: Make _cleanup an alias of _IO_cleanup.
|
||||||
|
@ -131,7 +131,7 @@ vsyslog(pri, fmt, ap)
|
|||||||
__localtime_r (&now, &now_tm));
|
__localtime_r (&now, &now_tm));
|
||||||
#else
|
#else
|
||||||
f->__bufp += strftime (f->__bufp, f->__put_limit - f->__bufp,
|
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
|
#endif
|
||||||
msgoff = ftell (f);
|
msgoff = ftell (f);
|
||||||
if (LogTag == NULL)
|
if (LogTag == NULL)
|
||||||
|
@ -157,7 +157,7 @@ __ulckpwdf ()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Prevent problems caused by multiple threads. */
|
/* Prevent problems caused by multiple threads. */
|
||||||
__libc_lock_lock (&lock);
|
__libc_lock_lock (lock);
|
||||||
|
|
||||||
result = close (lock_fd);
|
result = close (lock_fd);
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ Cambridge, MA 02139, USA. */
|
|||||||
/* Send N bytes of BUF to socket FD. Returns the number sent or -1. */
|
/* Send N bytes of BUF to socket FD. Returns the number sent or -1. */
|
||||||
int
|
int
|
||||||
DEFUN(__send, (fd, buf, n, flags),
|
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;
|
error_t err;
|
||||||
int wrote;
|
int wrote;
|
||||||
|
@ -29,7 +29,7 @@ Cambridge, MA 02139, USA. */
|
|||||||
ADDR_LEN bytes long). Returns the number sent, or -1 for errors. */
|
ADDR_LEN bytes long). Returns the number sent, or -1 for errors. */
|
||||||
int
|
int
|
||||||
DEFUN(sendto, (fd, buf, n, flags, addr, addr_len),
|
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)
|
const struct sockaddr_un *addr AND size_t addr_len)
|
||||||
{
|
{
|
||||||
addr_port_t aport;
|
addr_port_t aport;
|
||||||
|
@ -19,6 +19,7 @@ Cambridge, MA 02139, USA. */
|
|||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <sys/ustat.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
ustat (dev, ust)
|
ustat (dev, ust)
|
||||||
|
Reference in New Issue
Block a user