From: Martin Str|mberg Message-Id: <199902081517.QAA10997@father.ludd.luth.se> Subject: Re: make crash To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) Date: Mon, 8 Feb 1999 16:17:12 +0100 (MET) Cc: djgpp AT delorie DOT com (DJGPP) In-Reply-To: from Eli Zaretskii at "Feb 7, 99 11:44:18 am" X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com According to Eli Zaretskii: > > On 6 Feb 1999, Martin Str|mberg wrote: > > > Ok. I know what is causing the problem. My environment variable SHELL > > is set to "f:/djgpp/bin/-bash.exe". > > Why would you need that? AFAIK, -bash is only needed in interactive > invocation, to make it a login shell, but should never be necessary > (and could be even dangerous) after that. > > > This -bash.exe created I with "ln > > -s -- bash -bash", hence the problem (I suppose) is make crashes if > > SHELL is set to a DJGPP symbolic link while building tar. > > Did you try to actually copy bash.exe into -bash.exe, and see if that > prevents Make from crashing? I don't recollect any special treatment > of symlinks in Make, so I'd rather suspect Bash being invoked as a > login shell when it shouldn't be. Nope, but now I have. It seems that if either of two cases we'll have a crash: 1. name starts with a "-". 2. a symlink (DJGPP kind) 1. can perhaps be explained as some .bash_login thing (although I haven't got any such file) 2. can't be explained that easily. Right, MartinS