Implementation of GetCompressedFileSize[AW]

Pavel Roskin proski at gnu.org
Thu Oct 2 01:03:48 CDT 2003


On Thu, 2 Oct 2003, [iso-8859-1] Sylvain Petreolle wrote:

> Works cool, but you could return INVALID_FILE_SIZE when the function
> fails.

Maybe.  If the patch is not applied, I'll recheck error codes.

> OT : Too bad that we dont have GetProcessMemoryInfo, this is what keeps
> cygwin programs unable to start into bash.

I don't think it's the reason.  GetProcessMemoryInfo is not even present
on Windows 98, yet bash works on it.

It seems that all Cygwin programs think that they are using COM1 as
terminal (try "wine tty").  That's most likely the reason why bash exits
silently.  It even displays the prompt if I give it "-i" but then exits
seeing that the terminal is closed.  GetProcessMemoryInfo is called after
that:

<proski at portland bin>$ PS1="WINE/BASH> " wine bash.exe -- -i
fixme:cdrom:CDROM_GetInterfaceInfo not implemented for true scsi drives
fixme:console:SetConsoleCtrlHandler (0x61011400,0) - no error checking or
testing yet
fixme:console:SetConsoleCtrlHandler (0x61011400,1) - no error checking or
testing yet
err:dosfs:DOSFS_CreateCommPort Couldn't open device '/dev/ttyS0' ! (check
permissions)
fixme:dosfs:DOSFS_OpenDevice device open L"COM1" not supported (yet)
err:file:CreateFileW Couldn't open device L"com1"!
err:comm:GetCommState FILE_GetUnixHandle failed
fixme:ntdll:NtQueryObject Unsupported information class 1
err:comm:GetCommState FILE_GetUnixHandle failed
fixme:ntdll:NtQueryObject Unsupported information class 1
err:dosfs:DOSFS_CreateCommPort Couldn't open device '/dev/ttyS0' ! (check
permissions)
fixme:dosfs:DOSFS_OpenDevice device open L"COM1" not supported (yet)
err:file:CreateFileW Couldn't open device L"com1"!
fixme:comm:ClearCommError no handle (nil) found
fixme:comm:ClearCommError no handle (nil) found
err:comm:GetCommState FILE_GetUnixHandle failed
fixme:comm:ClearCommError no handle (nil) found
err:comm:GetCommState FILE_GetUnixHandle failed
WINE/BASH> fixme:comm:ClearCommError no handle (nil) found
fixme:comm:ClearCommError no handle (nil) found
fixme:comm:PurgeComm no handle (nil) found
exit
fixme:psapi:GetProcessMemoryInfo (hProcess=0x48, 0x408c2bf0, 40): stub
<proski at portland bin>$

-- 
Regards,
Pavel Roskin



More information about the wine-devel mailing list