emacs-devel
[Top][All Lists]
Advanced

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

Re: File Owner and Group ID on Windows


From: Juanma Barranquero
Subject: Re: File Owner and Group ID on Windows
Date: Mon, 25 Aug 2008 14:26:27 +0200

On Mon, Aug 25, 2008 at 05:07, Eli Zaretskii <address@hidden> wrote:

> The only change between 22.x and the current CVS trunk should be that
> the value of dflt_passwd.pw_uid is computed differently from the
> user's SID we extract from Emacs's process token.  But what you found
> from your debugging seems to indicate that somehow one of the syscalls
> we use for extracting the SID stopped working, and I don't expect any
> differences there, because that code wasn't supposed to change between
> 22.x and the trunk.

I don't think it has anything to do with syscalls. It's likely a
memory corruption or somesuch. The problem appears on 23.X with
optimized builds.

Specifically:

 - EMACS_22_BASE (-O2)             -- get_token_information => 1
 - trunk (-O2)                     -- get_token_information => 0
 - trunk (w32.c compiled with -O1) -- get_token_information => 1

I'm trying to pinpoint when was the problem introduced.

 Juanma




reply via email to

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