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

Re: FHS compliance and UNIX sockets

On 31-Jan-01, 17:38 (CST), Joey Hess <joey@kitenet.net> wrote: 
> Tollef Fog Heen wrote:
> > The next step would probably be to search the sources for /tmp and
> > replace it with $HOME/tmp wherever possible.
> Replace it with getenv("TMPDIR") is much better.

This turns out to have some interesting consequences. For example, I
added TMPDIR support to "crontab -e", and it broke for some users,
because emacs behaves differently when the path of the file being edited
begins with "/tmp" vs other places. When it's in /tmp, emacs edits in
place and copies to backup, otherwise it moves the original to backup
and edits a copy, which broke crontabs check for if the file had been


Steve Greenland <stevegr@debian.org>
(Please do not CC me on mail sent to this list; I subscribe to and read
every list I post to.)

Reply to: