Julien Danjou wrote:
> At 1237390358 time_t, Uli Schlachter wrote:
>> one small comment on that patch:
>> IMHO you should not hardcode /tmp but use $TMPDIR instead or at least try
>> $TMPDIR before /tmp (if they are different).
>> There is e.g. a pam module on linux (perhabs on other OS too) which does some
>> namespace magic and sets $TMPDIR to a directory which is only mounted for the
>> current user.
>
> Is there some standard about that?
> I don't have TMPDIR set here.
>
> Cheers,
I have it set to /tmp, no idea where it is set (debian testing).
I found it on some man pages. E.g. tempnam(3) and mktemp(1) mention it. I don't
know if there is an official standard on this, but adding it wouldn't hurt if
awesome used /tmp as a fallback, right?
Uli
--
"Do you know that books smell like nutmeg or some spice from a foreign land?"
-- Faber in Fahrenheit 451
--
To unsubscribe, send mail to [email protected].