wget-dev
[Top][All Lists]
Advanced

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

wget | Minor output fix to use quote_n() instead of quote() (!18)


From: Shamil Gumirov (@shamil.gumirov)
Subject: wget | Minor output fix to use quote_n() instead of quote() (!18)
Date: Tue, 06 Apr 2021 12:05:58 +0000


Shamil Gumirov created a merge request: 
https://gitlab.com/gnuwget/wget/-/merge_requests/18

Project:Branches: shamil.gumirov/wget:shamil/quote_fix/0 to gnuwget/wget:master
Author:    Shamil Gumirov




* src/ftp.c: (in ftp_retrieve_list) change quote to quote_n
* src/iri.c: (in do_conversion) change quote to quote_n
* src/url.c: (in convert_fname) change quote to quote_n

The implementation quote() reuses the buffer it returns which
leads to printing the same string for each quote() call in one
output line. Instead, quote_n() should be used as highlighted in
the doc:
https://www.gnu.org/software/gnulib/manual/html_node/Quoting.html

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget/-/merge_requests/18
You're receiving this email because of your account on gitlab.com.




reply via email to

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