mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
Update.
* sysdeps/posix/system.c: Correct return value for LINE == NULL.
This commit is contained in:
parent
6f2a816729
commit
d2a6ff8d69
@ -1,5 +1,7 @@
|
||||
2000-01-02 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/posix/system.c: Correct return value for LINE == NULL.
|
||||
|
||||
* signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
|
||||
|
||||
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991, 92, 94, 95, 96, 97, 99 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-1999, 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -46,7 +46,7 @@ __libc_system (const char *line)
|
||||
if (line == NULL)
|
||||
/* Check that we have a command processor available. It might
|
||||
not be available after a chroot(), for example. */
|
||||
return __libc_system ("exit 0");
|
||||
return __libc_system ("exit 0") == 0;
|
||||
|
||||
sa.sa_handler = SIG_IGN;
|
||||
sa.sa_flags = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user