[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64604: readlink exit booelan value bug
|
From: |
Budi |
|
Subject: |
bug#64604: readlink exit booelan value bug |
|
Date: |
Fri, 14 Jul 2023 09:38:06 +0700 |
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
>
- bug#64604: readlink exit booelan value bug,
Budi <=