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
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: 71477 <at> debbugs.gnu.org
> Date: Tue, 11 Jun 2024 16:43:06 +0800
>
> > The only possible issue I see with allowing a negative PID is that the
> > code checks for "pid > 0" or "pid < 0" somewhere; if that is the case,
> > we should replace those with comparisons with -1 instead.
> >
> > Can you test the above on Windows 9X when you have a chance? Then we
> > could install it.
>
> If it doesn't produce any adverse effect on modern Windows, and what I
> raised is not important, let's install it now, and I will test it as
> soon as may be, or it might fall by the wayside.
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?
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.
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.