summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/stdio_threading (follow)
Commit message (Collapse)AuthorAgeFilesLines
* While almost all the libc locks are taken and released in the sameguenther2026-01-193-1/+85
| | | | | | | | | | libc call, flockfile() and ftrylockfile() can be called when single-threaded and then--while 'holding' the lock--the process can create another thread, resulting in a broken state. Have the f{lock,trylock,unlock}file() APIs *always* do real locking so the exposed state is always consistent. ok dlg@
* Missing $OpenBSD$'s.krw2015-01-201-0/+1
| | | | ok deraadt@
* Make sure the correct errno is reported by warn* or err* and notguenther2014-07-206-5/+11
| | | | | | the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org)
* Delete unused variables found by -Wallguenther2014-07-205-5/+2
|
* Add missing include. Tickled by Doug Hogan (doug (at) acyclic.org)guenther2014-07-201-0/+1
|
* Use errc/warnc to simplify code.guenther2014-05-201-7/+7
| | | | | | Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@
* * add #includes to pull in missing prototypes, as pointed out by gcc4naddy2010-05-087-6/+7
| | | | | | * fix CFLAGS syntax for make depend ok blambert@
* Add regression tests for stdio threading. Originally by blambert withguenther2009-11-1914-0/+509
some further hacking by me