Cygwin/Wine : status update
spetreolle at yahoo.fr
Wed Nov 20 04:39:29 CST 2002
David, you have a point.
The problem goes away when setting version to winme.
Now bash fails like this.
C>bash --login -i
157 [main] bash -141743176 sync_with_child: child 141745160(0x100)
died before initialization with status code 0x0
12021 [main] bash -141743176 sync_with_child: *** child state waiting
bash: fork: Resource temporarily unavailable
Looking into the source shows that the problem isn't in bash itself
cygwin dll.(I greped "died")
> Cygwin has a struct, wincap, which indicates what Windows
> are present.
> This has a member, has_security, which is checked before any security
> functions like OpenProcessToken
> are used.
> The struct is initialized in wincap.cc which calls GetVersionEx to
> determine the version
> of Windows being used, then copies a const version of the wincap
> for that
> Windows version onto the actual struct used. This has has_security
> to false for non-NT versions
> of Windows.
> So presumably setting the Wine version should avoid this... haven't
> checked though,
> just looked at the cygwin sources
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
More information about the wine-devel