delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/09/12:25:09

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=vCXLq3QkUS5JpHyJoo1rhOyT2HBVe
iFaXOFFEwP4UKeSkTv5mWxHskC6ycRRSXa6MNCEakXTDFyXDqknEBbq/NVjuMCB+
IQj/Ot/REF4g8TizhDCmJ1iVISjF0jpiWsXQYtL45YIVZGqU1mDkMFLVWxgBtdpP
jeCGfuo2Mq5Ytg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=XLRLZ3UspzRP0l1/L33A8LbMRQc=; b=Z19
iDmO09H5y523+GXaT30SUnUehoYsdkGXuN+8mYGNS8D/R56IkEW6HhRuGAImJRIq
3jObO3WkwjSxcz+aLdePEImi6+FRemh8yaSpKoja9gvdu5wHiDoxWC3MkSKFB+T+
+ogTcXCE8x4M9HJxEqBMrzECunWFU85LVP8fauOY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,NO_RELAYS autolearn=ham version=3.3.2
X-HELO: mail-qe0-f54.google.com
MIME-Version: 1.0
X-Received: by 10.229.228.195 with SMTP id jf3mr25457686qcb.0.1378743890170; Mon, 09 Sep 2013 09:24:50 -0700 (PDT)
Date: Mon, 9 Sep 2013 09:24:50 -0700
Message-ID: <CAJty3Zx2dRRsp31kwN6OGM-mJkGO6YsVVLHg9Y2JDsjH+0op7Q@mail.gmail.com>
Subject: 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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019