From: Matija Obid <matija.obid@posteo.net>
To: 44182@debbugs.gnu.org
Subject: bug#44182: Bug in nftw function
Date: Fri, 23 Oct 2020 20:41:01 +0200 [thread overview]
Message-ID: <87y2jw945e.fsf@posteo.net> (raw)
Hello,
If I run nftw/ftw function over root directory ("/") it doesn't find any
file.
Example: (nftw "/" (lambda* (file #:rest args) (write file) #t))
Explanation from irc:
> [20:11] <RhodiumToad> bug in nftw, or more precisely in one of the
> functions it calls
> [20:12] <RhodiumToad> (lambda () (go (clean filename) 0 0)) ;; but
> (clean "/") returns "", which is clearly wrong
> [20:13] <RhodiumToad> (clean) is removing any excess trailing /, but it
> doesn't have the required special case for
> filenames that are just "/" and nothing
> else
--
Best Regards,
Matija Obid
next reply other threads:[~2020-10-23 18:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-23 18:41 Matija Obid [this message]
2021-05-21 18:31 ` bug#44182: Bug in nftw function lloda
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://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2jw945e.fsf@posteo.net \
--to=matija.obid@posteo.net \
--cc=44182@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).