Cygwin/Wine : status update

Sylvain Petreolle spetreolle at
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
for longjmp                                                            
bash: fork: Resource temporarily unavailable                           
bash-2.05b$ logout  

Looking into the source shows that the problem isn't in bash itself    
                                                               nor in
cygwin dll.(I greped "died")  

> Cygwin has a struct, wincap, which indicates what Windows
> capabilities 
> are present.
> This has a member, has_security, which is checked before any security
> functions like OpenProcessToken
> are used.
> The struct is initialized in which calls GetVersionEx to 
> determine the version
> of Windows being used, then copies a const version of the wincap
> struct 
> for that
> Windows version onto the actual struct used. This has has_security
> set 
> 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
> David

Do You Yahoo!? -- Une adresse gratuite et en français !
Yahoo! Mail :

More information about the wine-devel mailing list