bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #54262] -printf %Y doesn't output N for broken links


From: Tavian Barnes
Subject: [bug #54262] -printf %Y doesn't output N for broken links
Date: Fri, 20 Jul 2018 12:18:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #3, bug #54262 (project findutils):

Better:

$ ln -s nowhere broken
$ ln -s find/find/find notdir
$ find broken notdir -printf '%p %Y\n'
broken l
notdir l
$ ./find/find broken notdir -printf '%p %Y\n'
broken N
notdir ?./find/find: ‘notdir’: Not a directory

I think ENOTDIR should probably be treated the same as ENOENT.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54262>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]