bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: small bison err.


From: Paul Eggert
Subject: Re: small bison err.
Date: Thu, 17 Mar 2005 15:44:29 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Paul Eggert <address@hidden> writes:

> Hmm, which 'boostrap' line was it complaining about?  Here are the
> possibilities.
>
>     trap exit 1 2 13 15
>     trap 'rm -fr gnulib; exit 1' 0
>     trap 0

Following up on my own email....

POSIX says that "trap 0" is not portable, so I installed this patch.
Does it fix your problem with Bison 'bootstrap'?

2005-03-17  Paul Eggert  <address@hidden>

        * bootstrap: Use "trap - 0" rather than the unportable "trap 0".

--- bootstrap   23 Nov 2004 08:50:17 -0000      1.14
+++ bootstrap   17 Mar 2005 23:41:38 -0000      1.15
@@ -2,7 +2,7 @@
 
 # Bootstrap this package from CVS.
 
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -83,7 +83,7 @@ case ${GNULIB_SRCDIR--} in
 
     cvs -z3 -q -d ${CVS_PREFIX}subversions.gnu.org:/cvsroot/gnulib co gnulib 
|| exit
 
-    trap 0
+    trap - 0
   fi
   GNULIB_SRCDIR=gnulib
 esac




reply via email to

[Prev in Thread] Current Thread [Next in Thread]