[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File Owner and Group ID on Windows
From: |
Lennart Borgman (gmail) |
Subject: |
Re: File Owner and Group ID on Windows |
Date: |
Mon, 25 Aug 2008 14:48:26 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Juanma Barranquero wrote:
> 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.
Checking the return values from syscalls might help.
- Re: segfault in system-process-attributes on GNU/Linux, (continued)
- Re: File Owner and Group ID on Windows, Eli Zaretskii, 2008/08/22
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/22
- Re: File Owner and Group ID on Windows, Eli Zaretskii, 2008/08/24
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/24
- Re: File Owner and Group ID on Windows, Eli Zaretskii, 2008/08/24
- Re: File Owner and Group ID on Windows, Lennart Borgman (gmail), 2008/08/24
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/25
- Re: File Owner and Group ID on Windows,
Lennart Borgman (gmail) <=
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/25
- Re: File Owner and Group ID on Windows, Lennart Borgman (gmail), 2008/08/25
- Re: File Owner and Group ID on Windows, Juanma Barranquero, 2008/08/25