emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#44182: closed (Bug in nftw function)


From: GNU bug Tracking System
Subject: bug#44182: closed (Bug in nftw function)
Date: Fri, 21 May 2021 18:31:01 +0000

Your message dated Fri, 21 May 2021 20:31:04 +0200
with message-id <7EB800A5-3A29-44E2-8C3F-F62408E81874@sarc.name>
and subject line Re: bug#44182: Bug in nftw function
has caused the debbugs.gnu.org bug report #44182,
regarding Bug in nftw function
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
44182: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44182
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Bug in nftw function Date: Fri, 23 Oct 2020 20:41:01 +0200 User-agent: mu4e 1.2.0; emacs 28.0.50
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#44182: Bug in nftw function Date: Fri, 21 May 2021 20:31:04 +0200
Fixed in f499754bc8291a044c5034b634ac02a01bde9b49. Thanks!


--- End Message ---

reply via email to

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