bug-make
[Top][All Lists]
Advanced

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

Re: make dumps core on empty filename


From: Paul D. Smith
Subject: Re: make dumps core on empty filename
Date: Sun, 22 Feb 2004 15:12:32 -0500

%% Manoj Srivastava <address@hidden> writes:

  ms> zircon$ make -f ''
  ms> make: file.c:57: lookup_file: Assertion *name != '\0'' failed.
  ms> Aborted (core dumped)

  ms> Clearly passing in an empty string as the filename is an error, but
  ms> I think it should be reported to the user in a more friendly manner
  ms> than by dumping core with an assertion failure...

  ms> In contrast:
  ms> zircon$ make -C ''
  ms> make: *** : No such file or directory.  Stop.

This bug has been fixed in the source for GNU make.  The fix will be
available in the next release.

Thanks for your report!

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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