Closed KazukiHiraizumi closed 5 years ago
typedef __int32_t key_t; /* IPC key (for Sys V IPC) */
I don't see point in changing type to unsigned long.
Sorry, this may be the compiler problem. My environment made this variable 16bits long.
What compiler are you using? And what OS, CPU?
My system is Linux Mint 18.2, "uname -a" tells like this
Linux ca-W517PU 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
NodeJS version is 9. A few days ago , I did "apt upgrade", and now I found your code is working well.
Ok, so I can close this PR?
Sure! дякую Arigato
Maybe on 64bits system, "key" should be 32bits long