Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2007-09-24 02:23:18 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2007-09-24 02:23:18 +0400
commitc67e696c471ae1b12b3316b31e13cfcb78a98376 (patch)
tree7dfdb00cff535e883714208febb894b801f6487d /winsup
parent9594d5c34280edea9355a2e951c27c2aea269e7d (diff)
Committed as obvious:
2007-09-24 David C. Daeschler <daveregs@rsaisp.com> * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l' case. Add missing break in 's'/LEN_S case.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/mingw/ChangeLog5
-rwxr-xr-xwinsup/mingw/mingwex/gdtoa/mingw_snprintf.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 407431a71..3bddce9f3 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
+
+ * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
+ case. Add missing break in 's'/LEN_S case.
+
2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
Make snprintf() and vsnprintf() conform to C99.
diff --git a/winsup/mingw/mingwex/gdtoa/mingw_snprintf.c b/winsup/mingw/mingwex/gdtoa/mingw_snprintf.c
index f063d2c4b..5e4e11960 100755
--- a/winsup/mingw/mingwex/gdtoa/mingw_snprintf.c
+++ b/winsup/mingw/mingwex/gdtoa/mingw_snprintf.c
@@ -465,7 +465,7 @@ x_sprintf
len = LEN_LL;
}
else
- len = LEN_LL;
+ len = LEN_L;
goto fmtloop;
case 'L':
flag_ld++;
@@ -617,6 +617,7 @@ x_sprintf
break;
case LEN_S:
*(short*)ip = c;
+ break;
case LEN_LL:
*(long long*) ip = c;
break;