GNU bug report logs -
#71477
30.0.50; Lock files are not deleted on Windows 98
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Mon, 10 Jun 2024 16:41:04 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> OK, but could you provide some additional details, so I could
> understand the issue better? What kind of negative values do you get
> from getpid on Windows 98, and what does the system show as the PID of
> that process? Is the value really such a large positive number that
> its MSB is set?
The value of getpid was -1859765, but I did not attempt to read the PID
manually with GetCurrentProcessID or cross-check it against the OS's
equivalent of ps, if there exists one at all.
> According to my records, _getpid just calls GetCurrentProcessId and
> returns the value as an int. So for _getpid to return a negative
> value, GetCurrentProcessId should return a very large positive value,
> I think.
There's a screenshot on this forum that, if it is to be trusted,
demonstrates that PIDs are indeed of this scale on Windows 9X:
https://www.vbforums.com/showthread.php?308830-Task-Manager-For-Windows-98
This bug report was last modified 1 year and 39 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.