[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 223/411: scripts/release-notes.pl: don't "embed" $ in format str
From: |
gnunet |
Subject: |
[gnurl] 223/411: scripts/release-notes.pl: don't "embed" $ in format string for printf() |
Date: |
Wed, 13 Jan 2021 01:20:38 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 06488441a59940ac95820139a6368092e70ddff4
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Mon Oct 5 08:29:28 2020 +0200
scripts/release-notes.pl: don't "embed" $ in format string for printf()
... since they might contain %-codes that mess up the output!
---
scripts/release-notes.pl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl
index d26c045a2..efdf9dff8 100755
--- a/scripts/release-notes.pl
+++ b/scripts/release-notes.pl
@@ -156,7 +156,8 @@ for my $l (@releasenotes) {
push @o, $l;
push @o, "\n";
for my $f (@line) {
- push @o, sprintf " o $f%s\n", $moreinfo{$f}? sprintf(" [%d]",
$moreinfo{$f}): "";
+ push @o, sprintf " o %s%s\n", $f,
+ $moreinfo{$f}? sprintf(" [%d]", $moreinfo{$f}): "";
$refused[$moreinfo{$f}]=3;
}
push @o, " --- new entries are listed above this ---";
@@ -208,6 +209,6 @@ exit;
# Debug: show unused references
for my $r (1 .. $#refs) {
if($refused[$r] != 3) {
- printf "$r is %d!\n", $refused[$r];
+ printf "%s is %d!\n", $r, $refused[$r];
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 193/411: sendf: move Curl_sendf to dict.c and make it static, (continued)
- [gnurl] 193/411: sendf: move Curl_sendf to dict.c and make it static, gnunet, 2021/01/12
- [gnurl] 205/411: include/README: convert to markdown, gnunet, 2021/01/12
- [gnurl] 258/411: os400: Sync libcurl API options, gnunet, 2021/01/12
- [gnurl] 346/411: KNOWN_BUGS: cmake build in Linux links libcurl to libdl, gnunet, 2021/01/12
- [gnurl] 312/411: HISTORY: the new domain, gnunet, 2021/01/12
- [gnurl] 279/411: runtests: show keywords when no tests ran, gnunet, 2021/01/12
- [gnurl] 188/411: pause: only trigger a reread if the unpause sticks, gnunet, 2021/01/12
- [gnurl] 251/411: Makefile.m32: add support for HTTP/3 via ngtcp2+nghttp3, gnunet, 2021/01/12
- [gnurl] 198/411: ECH: renamed from ESNI in docs and configure, gnunet, 2021/01/12
- [gnurl] 244/411: strerror: use 'const' as the string should never be modified, gnunet, 2021/01/12
- [gnurl] 223/411: scripts/release-notes.pl: don't "embed" $ in format string for printf(),
gnunet <=
- [gnurl] 231/411: windows: fix comparison of mismatched types warning, gnunet, 2021/01/12
- [gnurl] 348/411: KNOWN_BUGS: cmake: generated .pc file contains strange entries, gnunet, 2021/01/12
- [gnurl] 318/411: hsts: remove debug code leftovers, gnunet, 2021/01/12
- [gnurl] 331/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 374/411: runtests: make 'c-ares' a "feature" to depend on, gnunet, 2021/01/12
- [gnurl] 378/411: vquic/ngtcp2.h: define local_addr as sockaddr_storage, gnunet, 2021/01/12
- [gnurl] 200/411: HISTORY: add some 2020 events, gnunet, 2021/01/12
- [gnurl] 247/411: libcurl.pc: make it relocatable, gnunet, 2021/01/12
- [gnurl] 254/411: CURLOPT_TCP_NODELAY.3: fix comment in example code, gnunet, 2021/01/12
- [gnurl] 255/411: CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as well, gnunet, 2021/01/12