aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nt/ChangeLog2
-rw-r--r--src/ChangeLog1
-rw-r--r--src/w32.c4
3 files changed, 3 insertions, 4 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 4eda6f02d86..0c5e837c894 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,5 +1,7 @@
12008-04-05 Eli Zaretskii <eliz@gnu.org> 12008-04-05 Eli Zaretskii <eliz@gnu.org>
2 2
3 * inc/sys/stat.h: New file.
4
3 * configure.bat: Add check for usp10.h. 5 * configure.bat: Add check for usp10.h.
4 6
52008-04-04 Jason Rumney <jasonr@gnu.org> 72008-04-04 Jason Rumney <jasonr@gnu.org>
diff --git a/src/ChangeLog b/src/ChangeLog
index 12f3ebe6eb3..808a78e41d6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -7,6 +7,7 @@
7 * w32.c (sys_chown, stat, fstat): Use S_* constants instead of 7 * w32.c (sys_chown, stat, fstat): Use S_* constants instead of
8 _S_* ones, since we now use our own sys/stat.h. 8 _S_* ones, since we now use our own sys/stat.h.
9 (stat, fstat): Don't mangle the inode number. 9 (stat, fstat): Don't mangle the inode number.
10 (init_user_info): Don't restrict UID and GID to 0-60000 range.
10 11
112008-04-04 Stefan Monnier <monnier@iro.umontreal.ca> 122008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12 13
diff --git a/src/w32.c b/src/w32.c
index cfb11b9cd96..1108f22b112 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -637,8 +637,6 @@ init_user_info ()
637 the_passwd.pw_uid = 637 the_passwd.pw_uid =
638 *get_sid_sub_authority (user_token.User.Sid, 638 *get_sid_sub_authority (user_token.User.Sid,
639 n_subauthorities - 1); 639 n_subauthorities - 1);
640 /* Restrict to conventional uid range for normal users. */
641 the_passwd.pw_uid %= 60001;
642 } 640 }
643 641
644 /* Get group id */ 642 /* Get group id */
@@ -656,8 +654,6 @@ init_user_info ()
656 the_passwd.pw_gid = 654 the_passwd.pw_gid =
657 *get_sid_sub_authority (group_token.PrimaryGroup, 655 *get_sid_sub_authority (group_token.PrimaryGroup,
658 n_subauthorities - 1); 656 n_subauthorities - 1);
659 /* I don't know if this is necessary, but for safety... */
660 the_passwd.pw_gid %= 60001;
661 } 657 }
662 } 658 }
663 else 659 else