1.7.9: stat --append-exe option is ineffective (coreutils-8.10-1)

GV gvt.contrib@free.fr
Sat Oct 1 23:59:00 GMT 2011


Hi,

The cygwin-specific `--append-exe' option (announced here [1]) is 
ineffective for stat command (it works fine for ls).

Here is a simple test case to reproduce the problem.

This command should print "bash.exe":
     $ (cd /bin && /usr/bin/stat -t --append-exe bash | cut -d ' ' -f 1)
     bash

The same option works fine with the ls command :
     $ (cd /bin && /usr/bin/ls --append-exe bash)
     bash.exe

Version:
     $ /usr/bin/stat --version
     stat (GNU coreutils) 8.10
     Packaged by Cygwin (8.10-1)
     Copyright (C) 2011 Free Software Foundation, Inc.
     License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>.
     This is free software: you are free to change and redistribute it.
     There is NO WARRANTY, to the extent permitted by law.

     Written by Michael Meskes.

Please find attached output of command cygcheck -s -v -r

Regards,
Greg

[1] http://www.cygwin.com/ml/cygwin-announce/2006-01/msg00019.html

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20111001/d484f0dd/attachment.ksh>
-------------- next part --------------
--
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


More information about the Cygwin mailing list