unofficial mirror of 
 help / color / mirror / Atom feed
* bug#44182: Bug in nftw function
@ 2020-10-23 18:41 Matija Obid
  0 siblings, 0 replies; only message in thread
From: Matija Obid @ 2020-10-23 18:41 UTC (permalink / raw)
  To: 44182


If I run nftw/ftw function over root directory ("/") it doesn't find any

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] only message in thread

only message in thread, other threads:[~2020-10-23 18:41 UTC | newest]

Thread overview: (only message) (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

unofficial mirror of 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror guile-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-bugs guile-bugs/ \
	public-inbox-index guile-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git