mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-17 19:31:18 +00:00
With stdin redirected from a regular file, uev_run() with UEV_ONCE does
not return until end of file:
app < file.txt
The workaround for regular files, which epoll cannot watch, restarts
the loop before the UEV_ONCE check.
Check the flag there too.
Closes #37
19 lines
515 B
Makefile
19 lines
515 B
Makefile
EXTRA_DIST = check.h
|
|
CLEANFILES = *~ *.trs *.log
|
|
AM_CFLAGS = -W -Wall -Wextra -Wno-unused-result -Wno-unused-parameter
|
|
AM_CPPFLAGS = -D_GNU_SOURCE -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
|
|
AM_LDFLAGS = -L../src ../src/libuev.la
|
|
|
|
TESTS =
|
|
TESTS += active
|
|
TESTS += api
|
|
TESTS += complete
|
|
TESTS += cronrun
|
|
TESTS += io
|
|
TESTS += signal
|
|
TESTS += stdin
|
|
TESTS += timer
|
|
TESTS += event
|
|
|
|
check_PROGRAMS = $(TESTS)
|