delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/20/12:30:29

From: lat AT iki DOT fi (Lassi A. Tuura)
Subject: Re: bash "pregnant pauses" revisited (B19 on NT 4.0)
20 Aug 1998 12:30:29 -0700 :
Message-ID: <Pine.HPP.3.95a.980819114013.5163A-100000.cygnus.gnu-win32@hpatl20.cern.ch>
References: <19980817233433 DOT B7035 AT riga DOT schoenewald DOT de>
Reply-To: "Lassi A. Tuura" <lat AT iki DOT fi>
Mime-Version: 1.0
To: Arndt Schoenewald <arndt AT schoenewald DOT de>
Cc: Ulrich Lauther <ulrich DOT lauther AT mchp DOT siemens DOT de>,
Earnie Boyd <earnie_boyd AT yahoo DOT com>, Matthias Morche <morche AT sat1 DOT de>,
Cygwin32 Maillist <gnu-win32 AT cygnus DOT com>

|> I don't know what the default mail path for the bash.exe shipped with
|> B19 is (echo $MAILPATH or $MAIL doesn't print anything), but I took a
|> hex editor to look into the binary and found an instance of the string
|> "unknown" not far from occurances of MAIL and MAILPATH. I patched the
|> string from "unknown" to "no-idea", and guess what, the system started
|> to query my name server for "no-idea". Gotcha.

Read from line 1149 onwards in aclocal.m4 (in bash 2.01), that starts
with the very telling words:
  AC_DEFUN(BASH_DEFAULT_MAIL_DIR,
  [AC_MSG_CHECKING(for default mail directory) 

and ends after lots of checking with:
   AC_DEFINE(DEFAULT_MAIL_DIRECTORY, "unknown")

Looks like whoever builds the distributions could make us all the favour
of first creating the directory /usr/spool/mail (or any of the other
ones that are checked for)?

Cheers,
//lat
--
With sufficient thrust, pigs fly just fine.  However, this is not
necessarily a good idea.  It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  --RFC1925, "The Twelve Networking Truths"

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019