On Jun 29 13:14, Stanisław Wawszczak wrote: > Dear All, > > I have had to compile sblim-sfcbd-1.4.10 on Cygwin. It is using IPC > semaphores. > Unfortunately it is returning wrong value as the result of complicated > bit-wise logical operations. > I have tried to “hack the system” and make multiplication of returned value > by -1, but it triggers error in semget() > Environment: > Windows 2012 R2 with latest patches > I have installed Cygwin from official installer couple days ago. > > I have attached the gdb session from such invocation. You can see the path > and id in arguments are correct and stat() function returns correct values. > Finally result in %rax is negative: > rax 0xaf0b000701cc1d53 -5833568862233420461
Ok, but what's the exact problem? Following a GDB session is kind of a lot of work. Simple, very short, self-contained testcase, perhaps? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
signature.asc
Description: PGP signature