[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] opens numeric named files if MAIL is null
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] opens numeric named files if MAIL is null |
Date: |
Thu, 27 Mar 2008 10:07:07 +0200 |
address@hidden ha escrit:
> 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
Yes, that is intended. Mailutils tries to determine type of the
current mailbox (which is cwd in that case), and the only hint it
gets is telling it that it could be an MH folder.
Regards,
Sergey