diff options
| author | Eli Zaretskii | 2024-06-13 10:24:21 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-06-13 10:24:21 +0300 |
| commit | 0007231a7805abce945349c7c9c75b45155bda5c (patch) | |
| tree | 615ac5e2c6794b3f94db7ac9346e569d16825aff /src/bytecode.c | |
| parent | 94bcd7964bbb20bc8ff8a91a9656452a97139d60 (diff) | |
| download | emacs-0007231a7805abce945349c7c9c75b45155bda5c.tar.gz emacs-0007231a7805abce945349c7c9c75b45155bda5c.zip | |
Fix removal of file locks on MS-Windows 9X
A new Windows-specific function for validating process ID
is introduced that does TRT with possibly negative PID
values returned by 'getpid' on Windows 9X and also with
values larger than INT_MAX, since PID on Windows is
actually an unsigned 32-bit value.
* src/w32proc.c (w32_valid_process_id): New function.
* src/w32common.h (VALID_PROCESS_ID): Define for WINDOWSNT.
* src/filelock.c [WINDOWSNT]: Include w32common.h. (Bug#71477)
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions