mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 22:56:19 +01:00
Use null as device file as console might not be there
This commit is contained in:
parent
e46e610b84
commit
fc2a3398a5
@ -258,7 +258,7 @@ void FileTest::testFileAttributes3()
|
||||
#if POCO_OS==POCO_OS_CYGWIN
|
||||
File f("/dev/tty");
|
||||
#else
|
||||
File f("/dev/console");
|
||||
File f("/dev/null");
|
||||
#endif
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS) && !defined(_WIN32_WCE)
|
||||
File f("CON");
|
||||
|
Loading…
x
Reference in New Issue
Block a user