Autzoo.1052
net.v7bugs
utzoo!henry
Sat Oct 24 19:27:01 1981
shell mail checking
Bill Reeves of Lucasfilm has found a subtle bug in the Bourne shell's
mail checking:  if the mailbox is temporarily nonexistent (some mail
systems remove an empty mailbox), the shell can get a garbage mail date
into its memory, which can effectively suppress mail checking thenceforth.
The fix is like this, in main.c (line numbers are approximate):

139,140c139,141
                       THEN
>                               IF mailtime THEN prs(mailmsg) FI
>                               mailtime=statb.st_mtime;
142d142

<HR>
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
<P>
1. There is no money collected for the text(s) of the articles.
<BR>
2. The following notice remains appended to each copy:
<P>
<EM>The Usenet Oldnews Archive: Compilation Copyright&copy 1981, 1996
<BR> Bruce Jones, Henry Spencer, David Wiseman.</EM>
<P>
<HR>
Goto <A HREF="81.10.25_utzoo.1055_net.v7bugs.html">NEXT</A> article in NET.bugs.v7 Newsgroup
<BR>Return to <A HREF="NET.bugs.v7-index.html">NET.bugs.v7 index</A>
<BR>Return to the
       <A HREF="../index.html">Usenet Oldnews Archive index</A>
</HTML>

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.