mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 07:41:05 +00:00
Update.
1999-01-26 Geoff Keating <geoffk@ozemail.com.au> * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Suppress warning about potentially uninitialized `flags'. * nss/nss_db/db-alias.c (internal_setent): Likewise. 1999-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * elf/failobj.c: Provide prototype for xyzzy. 1999-01-25 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/clone.S: Correct error check again.
This commit is contained in:
parent
4353f9bef4
commit
b57018905f
14
ChangeLog
14
ChangeLog
@ -1,3 +1,17 @@
|
|||||||
|
1999-01-26 Geoff Keating <geoffk@ozemail.com.au>
|
||||||
|
|
||||||
|
* nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Suppress warning
|
||||||
|
about potentially uninitialized `flags'.
|
||||||
|
* nss/nss_db/db-alias.c (internal_setent): Likewise.
|
||||||
|
|
||||||
|
1999-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||||
|
|
||||||
|
* elf/failobj.c: Provide prototype for xyzzy.
|
||||||
|
|
||||||
|
1999-01-25 Philip Blundell <pb@nexus.co.uk>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/arm/clone.S: Correct error check again.
|
||||||
|
|
||||||
1999-01-24 Roland McGrath <roland@baalperazim.frob.com>
|
1999-01-24 Roland McGrath <roland@baalperazim.frob.com>
|
||||||
|
|
||||||
* sysdeps/mach/hurd/ioctl.c: Include <hurd/ioctls.defs>.
|
* sysdeps/mach/hurd/ioctl.c: Include <hurd/ioctls.defs>.
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
/* This function is supposed to not exist. */
|
/* This function is supposed to not exist. */
|
||||||
|
extern int xyzzy (int);
|
||||||
|
|
||||||
int
|
int
|
||||||
foo (int a)
|
foo (int a)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Mail alias file parser in nss_db module.
|
/* Mail alias file parser in nss_db module.
|
||||||
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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ internal_setent (int stayopen)
|
|||||||
{
|
{
|
||||||
/* We have to make sure the file is `closed on exec'. */
|
/* We have to make sure the file is `closed on exec'. */
|
||||||
int fd;
|
int fd;
|
||||||
int result, flags;
|
int result;
|
||||||
|
|
||||||
err = db->fd (db, &fd);
|
err = db->fd (db, &fd);
|
||||||
if (err != 0)
|
if (err != 0)
|
||||||
@ -69,12 +69,13 @@ internal_setent (int stayopen)
|
|||||||
result = -1;
|
result = -1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
result = flags = fcntl (fd, F_GETFD, 0);
|
|
||||||
if (result >= 0)
|
|
||||||
{
|
{
|
||||||
flags |= FD_CLOEXEC;
|
result = fcntl (fd, F_GETFD, 0);
|
||||||
result = fcntl (fd, F_SETFD, flags);
|
|
||||||
|
if (result >= 0)
|
||||||
|
result = fcntl (fd, F_SETFD, result | FD_CLOEXEC);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
{
|
{
|
||||||
/* Something went wrong. Close the stream and return a
|
/* Something went wrong. Close the stream and return a
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Netgroup file parser in nss_db modules.
|
/* Netgroup file parser in nss_db modules.
|
||||||
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ _nss_db_setnetgrent (const char *group)
|
|||||||
{
|
{
|
||||||
/* We have to make sure the file is `closed on exec'. */
|
/* We have to make sure the file is `closed on exec'. */
|
||||||
int fd;
|
int fd;
|
||||||
int result, flags;
|
int result;
|
||||||
|
|
||||||
err = db->fd (db, &fd);
|
err = db->fd (db, &fd);
|
||||||
if (err != 0)
|
if (err != 0)
|
||||||
@ -70,12 +70,13 @@ _nss_db_setnetgrent (const char *group)
|
|||||||
result = -1;
|
result = -1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
result = flags = fcntl (fd, F_GETFD, 0);
|
|
||||||
if (result >= 0)
|
|
||||||
{
|
{
|
||||||
flags |= FD_CLOEXEC;
|
result = fcntl (fd, F_GETFD, 0);
|
||||||
result = fcntl (fd, F_SETFD, flags);
|
|
||||||
|
if (result >= 0)
|
||||||
|
result = fcntl (fd, F_SETFD, result | FD_CLOEXEC);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
{
|
{
|
||||||
/* Something went wrong. Close the stream and return a
|
/* Something went wrong. Close the stream and return a
|
||||||
|
@ -66,7 +66,6 @@ sys/socketvar.h
|
|||||||
sys/soundcard.h
|
sys/soundcard.h
|
||||||
sys/sysctl.h
|
sys/sysctl.h
|
||||||
sys/sysinfo.h
|
sys/sysinfo.h
|
||||||
sys/sysmacros.h
|
|
||||||
sys/timex.h
|
sys/timex.h
|
||||||
sys/ultrasound.h
|
sys/ultrasound.h
|
||||||
sys/user.h
|
sys/user.h
|
||||||
|
Loading…
Reference in New Issue
Block a user