This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: file not working on executables?


On Sep  7 15:05, Luke Kendall wrote:
> I installed the latest Cygwin a couple of days ago.  "file" now
> produces no information for binary executables.  Anyone else seeing
> this problem?  (I checked that "file" is /usr/bin/file.)
> 
> $ file /usr/bin/ls.exe
> /usr/bin/ls.exe: 
> $ file /cygdrive/c/WINDOWS/system32/net.exe
> /cygdrive/c/WINDOWS/system32/net.exe: 
> $ file /etc/profile
> /etc/profile: ASCII English text
> $ file ~/.profile
> /home/luke/.profile: Bourne shell script text executable

Content-Description: cygcheck.txt
> C:\cygwin      /          system  textmode
> D:\home        /home      system  textmode
> d:\home        /u         system  binmode
> C:\cygwin/bin  /usr/bin   system  textmode
> C:\cygwin/lib  /usr/lib   system  textmode
> ..              /cygdrive  system  textmode,cygdrive

Oh well, why are you still using textmode?  We should drop this choice from
setup.exe entirely.

file doesn't cope with textmode right now.  I'll fix it to use always binmode.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]