Browse Source

[BZ #681]

2005-01-19  Roland McGrath  <roland@redhat.com>
	[BZ #681]
	* sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
	argument to execlp.
	Reported by Marcus Meissner <meissner@suse.de>.
cvs/glibc-2_5-branch
Roland McGrath 22 years ago
parent
commit
8d33466fca
  1. 7
      ChangeLog
  2. 2
      sunrpc/openchild.c

7
ChangeLog

@ -1,3 +1,10 @@
2005-01-19 Roland McGrath <roland@redhat.com>
[BZ #681]
* sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
argument to execlp.
Reported by Marcus Meissner <meissner@suse.de>.
2005-01-19 Jakub Jelinek <jakub@redhat.com>
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo

2
sunrpc/openchild.c

@ -81,7 +81,7 @@ _openchild (const char *command, FILE ** fto, FILE ** ffrom)
for (i = _rpc_dtablesize () - 1; i >= 3; i--)
__close (i);
fflush (stderr);
execlp (command, command, 0);
execlp (command, command, NULL);
perror ("exec");
_exit (~0);

Loading…
Cancel
Save