This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [Patch] Deimpersonate while accessing HKLM
On Thu, 28 Oct 2004, Brian Ford wrote:
> This may very well be user error, but I thought it important to report.
> After compiling current CVS I get a slew of:
>
> 53 [main] sh 3064 cygheap_user::reimpersonate: ImpersonateLoggedOnUser:
> Win32 error 6
Yup, user error. After a clean build, this problem went away. Sorry for
the noise.
> So, I thought I'd do a clean build. Then I get:
Building under a working DLL instead of the broken one above fixes these
as well.
> ../../cygwin/libiberty/fibheap.c: In function `fibheap_union':
> ../../cygwin/libiberty/fibheap.c:166: warning: implicit declaration of
> function `free'
> ../../cygwin/libiberty/fibheap.c: In function `fibheap_delete_node':
> ../../cygwin/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first
> use in this function)
> ../../cygwin/libiberty/fibheap.c:285: error: (Each undeclared identifier
> is reported only once
> ../../cygwin/libiberty/fibheap.c:285: error: for each function it appears
> in.)
> ../../cygwin/libiberty/fibheap.c: In function `fibheap_consolidate':
> ../../cygwin/libiberty/fibheap.c:395: warning: implicit declaration of
> function `memset'
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...