summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-04-14 05:00:00 +0000
committerMartin Pool <mbp@samba.org>2003-04-14 05:00:00 +0000
commit63a1b7637f11688f36ca8302714e1591927c51e4 (patch)
tree6b3a44b640343082ad4359ff0c143d8301bf72d1
parent048b0da0188d1b1fe8f5487c08e5ee6f2b3160da (diff)
downloadsamba-63a1b7637f11688f36ca8302714e1591927c51e4.tar.gz
samba-63a1b7637f11688f36ca8302714e1591927c51e4.tar.bz2
samba-63a1b7637f11688f36ca8302714e1591927c51e4.zip
Merge test cases from rsync.
(This used to be commit a0d841a59ea745bf48b0d705ad6c81e4172552ea)
-rw-r--r--source3/lib/snprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c
index 81e4866cc5..034e6466d6 100644
--- a/source3/lib/snprintf.c
+++ b/source3/lib/snprintf.c
@@ -873,9 +873,9 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c)
"-16.16f",
NULL
};
- /* XXX: What does "0203.9" even mean? An octal floating point number??? */
- double fp_nums[] = { 6442452944.1234, -1.5, 134.21, 91340.2, 341.1234, 0203.9, 0.96, 0.996,
- 0.9996, 1.996, 4.136, 5.030201, 0, 0.00205};
+ double fp_nums[] = { 6442452944.1234, -1.5, 134.21, 91340.2, 341.1234, 203.9, 0.96, 0.996,
+ 0.9996, 1.996, 4.136, 5.030201, 0.00205,
+ /* END LIST */ 0};
char *int_fmt[] = {
"%-1.5d",
"%1.5d",