bug-mailutils
[Top][All Lists]
Advanced

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

[bug-mailutils] opens numeric named files if MAIL is null


From: jidanni
Subject: [bug-mailutils] opens numeric named files if MAIL is null
Date: Thu, 27 Mar 2008 02:36:07 +0800

I discovered with mail (GNU Mailutils 1.2) if one does as an experiment
$ cd; MAIL= mail
and one has a file with a name like 211 there, mail will open that
thinking it is your mailbox. Strace shows
open("/home/jidanni//211", O_RDWR|O_LARGEFILE) = 4

Apparently it looks for files that match
ls|grep -v '[^0-9]'
and maybe others.




reply via email to

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