emacs-devel
[Top][All Lists]
Advanced

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

Re: $USERPROFILE for $HOME on W32


From: Eli Zaretskii
Subject: Re: $USERPROFILE for $HOME on W32
Date: Sat, 27 Nov 2004 18:40:55 +0200

> Cc: address@hidden, address@hidden
> From: Andreas Schwab <address@hidden>
> Date: Sat, 27 Nov 2004 14:26:36 +0100
> 
> What if someone sets HOME to something longer?  It won't work as filename,
> sure, but Emacs should not crash just because of this.

Right, so let's use strncpy to avoid the crash in that case.  Would
that be an okay solution?




reply via email to

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