[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `rename-file' with leading spaces in filename
From: |
Eli Zaretskii |
Subject: |
Re: `rename-file' with leading spaces in filename |
Date: |
Mon, 02 Jan 2006 17:38:12 +0200 |
> Date: Mon, 02 Jan 2006 10:52:53 +0100
> From: martin rudalics <address@hidden>
> Cc: address@hidden
>
> > Can you determine which primitive concludes that it exists
> > and see what arguments it got?
> >
>
> The FindFirstFile call in
>
> fh = FindFirstFile (name, &wfd);
>
> around line 2430 in w32.c
which is part of the MS-Windows port's emulation of `stat'.
> finds "c:/foo" due to the fact that
> FindFirstFile is allowed to return a file whose short filename matches
> the parameter "name" (provided - as I suspect - it does not find a file
> whose long filename matches "name").
Yes, FindFirstFile is allowed to find short aliases.