diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-25 03:03:14 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-25 03:03:14 +0000 |
commit | 8e86a8789d7a82b6f389c7c9052ba250933fafcb (patch) | |
tree | 575ef0143266ff2f57b09fe0143e9a412b1fb27f /boehm-gc/cord | |
parent | 81aeb57750e78fcb33d69a741e75754851058883 (diff) | |
download | gcc-8e86a8789d7a82b6f389c7c9052ba250933fafcb.tar.gz |
Import Boehm GC version 6.6.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/cord')
-rw-r--r-- | boehm-gc/cord/cordprnt.c | 6 | ||||
-rw-r--r-- | boehm-gc/cord/cordtest.c | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | boehm-gc/cord/de_win.ICO | bin | 766 -> 766 bytes |
3 files changed, 4 insertions, 4 deletions
diff --git a/boehm-gc/cord/cordprnt.c b/boehm-gc/cord/cordprnt.c index ad937b02d4e..6d278feda65 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 8f4836a2333..08333ca0434 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 Binary files differindex b20ac3ee16a..b20ac3ee16a 100644..100755 --- a/boehm-gc/cord/de_win.ICO +++ b/boehm-gc/cord/de_win.ICO |