[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] [PATCH] printf fixes
From: |
Thorsten Glaser |
Subject: |
[Lynx-dev] [PATCH] printf fixes |
Date: |
Tue, 9 May 2006 10:07:08 +0000 (UTC) |
Hi Tom, hi others,
while picking out the SSL diff from "all of my diffs",
I found these three. Please apply.
Index: src/gnu/usr.bin/lynx/src/LYPrint.c
diff -u src/gnu/usr.bin/lynx/src/LYPrint.c:1.1.109.1
src/gnu/usr.bin/lynx/src/LYPrint.c:1.2
--- src/gnu/usr.bin/lynx/src/LYPrint.c:1.1.109.1 Sun Mar 27 22:12:13 2005
+++ src/gnu/usr.bin/lynx/src/LYPrint.c Fri Apr 29 16:47:25 2005
@@ -1325,7 +1325,7 @@
" <a href=\"%s//PRINTER/number=%d/pagelen=%d/lines=%d\">",
STR_LYNXPRINT,
count, cur_printer->pagelen, lines_in_file);
- fprintf(fp0, (cur_printer->name ?
+ fprintf(fp0, "%s", (cur_printer->name ?
cur_printer->name : "No Name Given"));
fprintf(fp0, "</a>\n");
}
Index: src/gnu/usr.bin/lynx/src/LYUpload.c
diff -u src/gnu/usr.bin/lynx/src/LYUpload.c:1.1.109.1
src/gnu/usr.bin/lynx/src/LYUpload.c:1.2
--- src/gnu/usr.bin/lynx/src/LYUpload.c:1.1.109.1 Sun Mar 27 22:12:14 2005
+++ src/gnu/usr.bin/lynx/src/LYUpload.c Fri Apr 29 16:47:25 2005
@@ -207,7 +207,7 @@
cur_upload = cur_upload->next, count++) {
fprintf(fp0, " <a href=\"LYNXDIRED://UPLOAD=%d/TO=%s\">",
count, curloc);
- fprintf(fp0, (cur_upload->name ?
+ fprintf(fp0, "%s", (cur_upload->name ?
cur_upload->name : gettext("No Name Given")));
fprintf(fp0, "</a>\n");
}
Index: src/gnu/usr.bin/lynx/src/UCdomap.c
diff -u src/gnu/usr.bin/lynx/src/UCdomap.c:1.1.109.3
src/gnu/usr.bin/lynx/src/UCdomap.c:1.2
--- src/gnu/usr.bin/lynx/src/UCdomap.c:1.1.109.3 Mon Dec 19 23:10:43 2005
+++ src/gnu/usr.bin/lynx/src/UCdomap.c Sun Jan 1 21:07:12 2006
@@ -2056,7 +2056,7 @@
char *mimeName, *mName = NULL, *lName = NULL;
int s, i, exists = 0, ret;
- CTRACE((tfp, "CpOrdinal(cp=%ul, other=%d).\n", cp, other));
+ CTRACE((tfp, "CpOrdinal(cp=%lu, other=%d).\n", cp, other));
sprintf(myMimeName, "auto%s-cp%lu", (other ? "2" : ""), cp);
mimeName = myMimeName + 5 + (other != 0);
sprintf(lyName, "AutoDetect%s (cp%lu)",
bye,
//mirabile
--
> emacs als auch vi zum Kotzen finde (joe rules) und pine für den einzig
> bedienbaren textmode-mailclient halte (und ich hab sie alle ausprobiert). ;)
Hallooooo, ich bin der Holger ("Hallo Holger!"), und ich bin ebenfalls
... pine-User, und das auch noch gewohnheitsmäßig ("Oooooooohhh"). [aus dasr]
- [Lynx-dev] [PATCH] printf fixes,
Thorsten Glaser <=