This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: 1.7.5: Occasional failure of CreatePipe or signal handing due to thread-unsafe code in cwdstuff::set
On Thu, Aug 12, 2010 at 06:26:21PM +0200, Corinna Vinschen wrote:
>On Aug 12 12:14, Christopher Faylor wrote:
>> Btw, I found this by stepping through the //?/Global??/ namespace
>> as shown by the sysinternals Winobj utility.
>
>Yeah, Winobj is one of my favorite tools. Nevertheless, I would
>never have expected... etc.
>
>Btw:
>
> SetCurrentDirectory ("//?/PIPE/");
> CreateFile ("../C:/foo", ...);
>
>works. Go figure!
I meant to mention that //?/NUL/ "works" too except that CreateFile
always succeeds. I was close to retracting my previous position and go
with that just because it really deliciously highlights the WJM
principle.
Cygwin user:
"Where did my file go? CreateFile succeeded!"
Response:
"Mwahahaha!"
Btw, I can now run my VirtualBox stuff again. Just had to rebuild
linux, reboot, download the latest nvidia drivers, and rebuild
virtualbox.
Simple.
cgf