[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32.c,v
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32.c,v |
Date: |
Sat, 26 Jan 2008 15:04:33 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 08/01/26 15:04:33
Index: w32.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -b -r1.124 -r1.125
--- w32.c 26 Jan 2008 14:52:01 -0000 1.124
+++ w32.c 26 Jan 2008 15:04:33 -0000 1.125
@@ -362,10 +362,11 @@
DWORD n)
{
static GetSidSubAuthority_Proc s_pfn_Get_Sid_Sub_Authority = NULL;
+ static DWORD zero = 0U;
HMODULE hm_advapi32 = NULL;
if (is_windows_9x () == TRUE)
{
- return NULL;
+ return &zero;
}
if (g_b_init_get_sid_sub_authority == 0)
{
@@ -377,7 +378,7 @@
}
if (s_pfn_Get_Sid_Sub_Authority == NULL)
{
- return NULL;
+ return &zero;
}
return (s_pfn_Get_Sid_Sub_Authority (pSid, n));
}
@@ -386,10 +387,11 @@
PSID pSid)
{
static GetSidSubAuthorityCount_Proc s_pfn_Get_Sid_Sub_Authority_Count = NULL;
+ static UCHAR zero = 0U;
HMODULE hm_advapi32 = NULL;
if (is_windows_9x () == TRUE)
{
- return NULL;
+ return &zero;
}
if (g_b_init_get_sid_sub_authority_count == 0)
{
@@ -401,7 +403,7 @@
}
if (s_pfn_Get_Sid_Sub_Authority_Count == NULL)
{
- return NULL;
+ return &zero;
}
return (s_pfn_Get_Sid_Sub_Authority_Count (pSid));
}
- [Emacs-diffs] Changes to emacs/src/w32.c,v, Dan Nicolaescu, 2008/01/05
- [Emacs-diffs] Changes to emacs/src/w32.c,v, Miles Bader, 2008/01/08
- [Emacs-diffs] Changes to emacs/src/w32.c,v, Jason Rumney, 2008/01/25
- [Emacs-diffs] Changes to emacs/src/w32.c,v, Eli Zaretskii, 2008/01/26
- [Emacs-diffs] Changes to emacs/src/w32.c,v, Eli Zaretskii, 2008/01/26
- [Emacs-diffs] Changes to emacs/src/w32.c,v,
Eli Zaretskii <=
- [Emacs-diffs] Changes to emacs/src/w32.c,v, Eli Zaretskii, 2008/01/26
- [Emacs-diffs] Changes to emacs/src/w32.c,v, Jason Rumney, 2008/01/28