From 88645ef9464beb102425156f14b291c7a7aa1b27 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 30 Nov 2004 03:01:37 +0000 Subject: [PATCH] merge from gcc --- libiberty/ChangeLog | 4 ++++ libiberty/pex-unix.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 9a2aeda12b..b053857736 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2004-11-29 Matt Kraai + + * pex-unix.c: Fix the spelling of longjmp. + 2004-11-23 Ian Lance Taylor PR other/18623 diff --git a/libiberty/pex-unix.c b/libiberty/pex-unix.c index ddbed8f4a0..55a055e4b7 100644 --- a/libiberty/pex-unix.c +++ b/libiberty/pex-unix.c @@ -61,7 +61,7 @@ extern int errno; via other calls to this function. This version of the function uses vfork. In general vfork is - similar to setjmp/longmp, in that any variable which is modified by + similar to setjmp/longjmp, in that any variable which is modified by the child process has an indeterminate value in the parent process. We follow a safe approach here by not modifying any variables at all in the child process (with the possible exception of variables -- 2.11.0