From 70615d15fb6bf24043012667c79fee0af2d6f5b1 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 9a2aeda12b0..b0538577366 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 ddbed8f4a05..55a055e4b7e 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.30.2