GNU bug report logs - #98
23.0.60; uid problems on w32

Previous Next

Package: emacs;

Reported by: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>

Date: Sat, 29 Mar 2008 23:05:06 UTC

Severity: normal

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 98-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: 98-done <at> debbugs.gnu.org
Subject: [Fwd: Re: 23.0.60; uid problems on w32]
Date: Fri, 11 Apr 2008 21:54:07 +0100
[Message part 1 (text/plain, inline)]

[Re: 23.0.60; uid problems on w32.eml (message/rfc822, inline)]
From: Jason Rumney <jasonr <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: monnier <at> iro.umontreal.ca, emacs-pretest-bug <at> gnu.org, 
 lennart.borgman <at> gmail.com
Subject: Re: 23.0.60; uid problems on w32
Date: Mon, 31 Mar 2008 15:28:15 +0100
Eli Zaretskii wrote:
>> Eli Zaretskii wrote:
>>     
>>> Actually, one (in `struct passwd') is `signed int', the other (in
>>> `struct stat') is `signed short'.  Darn that MS-supplied stat.h!
>>>       
>
> OK, I will add this to my todo.  Thanks.
>   

I have just checked in a hack to Ffile_attributes that casts the uid in 
the stat structure to unsigned short on windows to make it consistent 
with getuid.
You'll need to remove this hack if/when you make the above more 
comprehensive change. I think the current %= 60001 in several places in 
w32.c where uid and gid are initialised will be able to be removed once 
you have made this change too.


This bug report was last modified 17 years and 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.