aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/cord
diff options
context:
space:
mode:
authorBryce McKinlay <mckinlay@redhat.com>2006-01-25 03:03:14 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2006-01-25 03:03:14 +0000
commit54f28c21ee515da92119551983d51118a3666e85 (patch)
tree575ef0143266ff2f57b09fe0143e9a412b1fb27f /boehm-gc/cord
parentac42ec79e00a729e9d92fc1d254862936ee68bbe (diff)
downloadgcc-54f28c21ee515da92119551983d51118a3666e85.zip
gcc-54f28c21ee515da92119551983d51118a3666e85.tar.gz
gcc-54f28c21ee515da92119551983d51118a3666e85.tar.bz2
Import Boehm GC version 6.6.
From-SVN: r110204
Diffstat (limited to 'boehm-gc/cord')
-rw-r--r--boehm-gc/cord/cordprnt.c6
-rw-r--r--boehm-gc/cord/cordtest.c2
-rwxr-xr-x[-rw-r--r--]boehm-gc/cord/de_win.ICObin766 -> 766 bytes
3 files changed, 4 insertions, 4 deletions
diff --git a/boehm-gc/cord/cordprnt.c b/boehm-gc/cord/cordprnt.c
index ad937b0..6d278fe 100644
--- a/boehm-gc/cord/cordprnt.c
+++ b/boehm-gc/cord/cordprnt.c
@@ -59,7 +59,7 @@ static int extract_conv_spec(CORD_pos source, char *buf,
register int result = 0;
register int current_number = 0;
register int saw_period = 0;
- register int saw_number;
+ register int saw_number = 0;
register int chars_so_far = 0;
register char current;
@@ -243,7 +243,7 @@ int CORD_vsprintf(CORD * out, CORD format, va_list args)
char * str = va_arg(args, char *);
register char c;
- while (c = *str++) {
+ while ((c = *str++)) {
CORD_ec_append(result, c);
}
goto done;
@@ -320,7 +320,7 @@ int CORD_vsprintf(CORD * out, CORD format, va_list args)
if (buf != result[0].ec_bufptr) {
register char c;
- while (c = *buf++) {
+ while ((c = *buf++)) {
CORD_ec_append(result, c);
}
} else {
diff --git a/boehm-gc/cord/cordtest.c b/boehm-gc/cord/cordtest.c
index 8f4836a..08333ca 100644
--- a/boehm-gc/cord/cordtest.c
+++ b/boehm-gc/cord/cordtest.c
@@ -221,7 +221,7 @@ void test_printf()
if (CORD_cmp(result, result2) != 0)ABORT("CORD_sprintf goofed 5");
}
-main()
+int main()
{
# ifdef THINK_C
printf("cordtest:\n");
diff --git a/boehm-gc/cord/de_win.ICO b/boehm-gc/cord/de_win.ICO
index b20ac3e..b20ac3e 100644..100755
--- a/boehm-gc/cord/de_win.ICO
+++ b/boehm-gc/cord/de_win.ICO
Binary files differ