Subject: Re: bug#10733: 24.0.93; w32 file truncation

From: Eli Zaretskii <[email-masked]>
Date: Mon, 06 Feb 2012 23:11:47 +0200

> From: Lennart Borgman <[email-masked]>
> Date: Mon, 6 Feb 2012 21:23:20 +0100
> Cc: [email-masked], [email-masked], [email-masked], [email-masked]
> 
> To me it seems quite scary that Emacs has its own implementation of
> such low level functions.

Don't worry: `stat' is a low-level function on Posix platforms, but
not on Windows.

w32.c is full of such "low-level" functions, reimplemented to be more
Posix like, because MSVCRT does a very poor job in that regard, and
Emacs expects Posix-compliance in quite a few places.