* bug#44182: Bug in nftw function
@ 2020-10-23 18:41 Matija Obid
2021-05-21 18:31 ` lloda
0 siblings, 1 reply; 2+ messages in thread
From: Matija Obid @ 2020-10-23 18:41 UTC (permalink / raw)
To: 44182
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#44182: Bug in nftw function
2020-10-23 18:41 bug#44182: Bug in nftw function Matija Obid
@ 2021-05-21 18:31 ` lloda
0 siblings, 0 replies; 2+ messages in thread
From: lloda @ 2021-05-21 18:31 UTC (permalink / raw)
To: 44182-done; +Cc: matija.obid
Fixed in f499754bc8291a044c5034b634ac02a01bde9b49. Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-21 18:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-23 18:41 bug#44182: Bug in nftw function Matija Obid
2021-05-21 18:31 ` lloda
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).