bug-coreutils@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Budi <budikusasi@gmail.com>
To: 64604@debbugs.gnu.org
Subject: bug#64604: readlink exit booelan value bug
Date: Fri, 14 Jul 2023 09:38:06 +0700	[thread overview]
Message-ID: <CAH0GyZCANECutDYCTun_hA9-uT00V++=THF+3d+ZJb_LUZvM0Q@mail.gmail.com> (raw)

EDIT ABOVE MAIL TO HAVE TITILE

readlink exit value is TRUE as it actually must be FALSE at first
depth dir. with -f or -e option e.g. in /tmp dir:


/tmp$ readlink -f ./KERNEL-linux-6.3.9  && echo SUCCEEDS FIND IT
/tmp/KERNEL-linux-6.3.9
SUCCEEDS FIND IT

but correct at deeper depth:

/tmp$ readlink -f ./KERNEL-linux-6.3.9/fs  && echo SUCCEEDS FIND IT



look it up, no KERNEL-linux-6.3.9 dir.:

/tmp$ ls -Apv
.ICE-unix/                      opera/
.X11-unix/                      ssh-Xbe0jzj/  .xfsm-ICE-1BY671
.org.chromium.IfJAAT/   dbus-QZsDmoWAoc

On 7/14/23, Budi <budikusasi@gmail.com> wrote:
> readlink exit value is TRUE as it actually must be FALSE at first
> depth dir. with -f or -e option e.g. in /tmp dir:
>
>
> /tmp$ readlink -f ./KERNEL-linux-6.3.9  && echo SUCCEEDS FIND IT
> /tmp/KERNEL-linux-6.3.9
> SUCCEEDS FIND IT
>
> but correct at deeper depth:
>
> /tmp$ readlink -f ./KERNEL-linux-6.3.9/fs  && echo SUCCEEDS FIND IT
>
>
>
> look it up, no KERNEL-linux-6.3.9 dir.:
>
> /tmp$ ls -Apv
> .ICE-unix/                      opera/
> .X11-unix/                      ssh-Xbe0jzj/  .xfsm-ICE-1BY671
> .org.chromium.IfJAAT/   dbus-QZsDmoWAoc
>




             reply	other threads:[~2023-07-14  2:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14  2:38 Budi [this message]
2023-07-14  2:54 ` bug#64604: readlink exit booelan value bug Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-coreutils

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH0GyZCANECutDYCTun_hA9-uT00V++=THF+3d+ZJb_LUZvM0Q@mail.gmail.com' \
    --to=budikusasi@gmail.com \
    --cc=64604@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).