Question about flock - potential memory corruption?

Qian Hong fracting@gmail.com
Mon Sep 7 18:46:00 GMT 2015


Hi,

Attach is the simple test case I use to reproduce the valgrind warning
and random failures.

Compile the test case in Cygwin with below command line:
$ gcc -g -O0 flock.c -o flock.exe

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flock.c
Type: text/x-csrc
Size: 1205 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150907/2dffe82c/attachment.bin>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list