[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building Emacs on MS Windows
From: |
Jason Rumney |
Subject: |
Re: Building Emacs on MS Windows |
Date: |
07 Feb 2003 21:18:42 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Lars Hansen <address@hidden> writes:
> Take a look at my mail labeled "Eshell under Windows" on
> bug-gnu-emacs, there is more precise information.
Please try the following function in cwd.exe in addition to getcwd()
char startup_dir[MAXPATHLEN];
GetCurrentDirectory (MAXPATHLEN, startup_dir)
This is the Windows API function Emacs uses to get the current
directory at startup. Theoretically, it should give the same result
as getcwd (I would expect the latter to be a simple wrapper in most
runtime libraries), but let's make sure.