Mail Archives: djgpp/2004/05/10/13:02:56
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
Message-ID: | <71078E41DDE3E541B024832F34BC3D0DDDCE@cowexc03.corp.mxtr.net>
|
From: | "Schumacher, Gordon" <gordon_schumacher AT maxtor DOT com>
|
To: | "'Eli Zaretskii'" <eliz AT gnu DOT org>
|
Cc: | djgpp AT delorie DOT com
|
Subject: | RE: BASH crashes upon exiting function?
|
Date: | Mon, 10 May 2004 11:01:54 -0600
|
MIME-Version: | 1.0
|
X-Mailer: | Internet Mail Service (5.5.2653.19)
|
# From: Eli Zaretskii [mailto:eliz AT gnu DOT org]
# Sent: Sunday, May 09, 2004 5:08 AM
# To: Schumacher, Gordon
# Cc: djgpp AT delorie DOT com
# Subject: Re: BASH crashes upon exiting function?
#
# > From: "Schumacher, Gordon" <gordon_schumacher AT maxtor DOT com>
# > Date: Fri, 7 May 2004 16:45:48 -0600
# >
# > All of those configurations failed in exactly the same way,
# > even if I modified the bootstrap script to skip steps - the
# > first time it hits a return (i.e., from a shell function)
# > BASH crashes, according to what I see from set -x.
#
# What do you mean, exactly, by ``the first time it hits return''?
# Does ``return'' here means the end of the line, or something else?
Sorry, as in "return 0" - the "return from function" statement.
# Does Bash crash when it runs any other scripts? For example, try
# writing a trivial script that just echoes some string and exits.
*smack* Should have thought of that. I'll give that a shot today.
Probably I didn't think of that since I am but a rank amateur at
shell-scripting... I can do it, but I'm not that good at it. I've
been kinda learning it as I go, out of self-defense.
Funny how that works - I know C, C++, and Perl, for instance - but
am not very good with basic "bash", hehe...
- Raw text -