This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gcc writing to /dev/null actually writes to /dev/null.exe
- From: Adam Kellas <adam dot kellas at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 9 Sep 2013 09:24:50 -0700
- Subject: gcc writing to /dev/null actually writes to /dev/null.exe
- Authentication-results: sourceware.org; auth=none
Is this a bug which is fixable in Cygwin or just something to be lived with?
% gcc -o /dev/null devnull.c
% ls -ld /dev/null*
crw-rw-rw- 1 dboyce Domain Users 1, 3 Sep 9 09:14 /dev/null
-rwxrwxr-x+ 1 dboyce Domain Users 53827 Sep 9 09:14 /dev/null.exe
% file /dev/null.exe
/dev/null.exe: PE32 executable (console) Intel 80386, for MS Windows
I'm aware of the .exe back story but this should be a special case, I think.
--
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