diff options
-rw-r--r-- | libc/ChangeLog.eglibc | 13 | ||||
-rw-r--r-- | libc/io/test-lfs.c | 2 | ||||
-rw-r--r-- | libc/io/tst-fcntl.c | 2 | ||||
-rw-r--r-- | libc/posix/tst-exec.c | 2 | ||||
-rw-r--r-- | libc/posix/tst-preadwrite.c | 2 | ||||
-rw-r--r-- | libc/posix/tst-spawn.c | 2 | ||||
-rw-r--r-- | libc/posix/tst-truncate.c | 2 | ||||
-rw-r--r-- | libc/rt/tst-aio.c | 2 | ||||
-rw-r--r-- | libc/rt/tst-aio64.c | 2 | ||||
-rw-r--r-- | libc/stdlib/test-canon2.c | 2 |
10 files changed, 22 insertions, 9 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc index ddead605c..57156cb8a 100644 --- a/libc/ChangeLog.eglibc +++ b/libc/ChangeLog.eglibc @@ -1,3 +1,16 @@ +2006-08-26 Joseph Myers <joseph@codesourcery.com> + + * io/test-lfs.c (do_prepare): Give name_len type size_t. + * io/tst-fcntl.c (do_prepare): Likewise. + * posix/tst-exec.c (do_prepare): Likewise. + * posix/tst-preadwrite.c (do_prepare): Likewise. + * posix/tst-spawn.c (do_prepare): Likewise. + * posix/tst-truncate.c (do_prepare): Likewise. + * rt/tst-aio.c (do_prepare): Likewise. + * rt/tst-aio64.c (do_prepare): Likewise. + * stdlib/test-canon2.c (do_prepare): Give test_dir_len type + size_t. + 2006-08-23 Joseph Myers <joseph@codesourcery.com> [BZ #2980] diff --git a/libc/io/test-lfs.c b/libc/io/test-lfs.c index a4669c398..c27af408e 100644 --- a/libc/io/test-lfs.c +++ b/libc/io/test-lfs.c @@ -50,7 +50,7 @@ int fd; void do_prepare (int argc, char *argv[]) { - char name_len; + size_t name_len; struct rlimit64 rlim; name_len = strlen (test_dir); diff --git a/libc/io/tst-fcntl.c b/libc/io/tst-fcntl.c index fed884913..93ea9b0b0 100644 --- a/libc/io/tst-fcntl.c +++ b/libc/io/tst-fcntl.c @@ -42,7 +42,7 @@ static char *name; void do_prepare (int argc, char *argv[]) { - char name_len; + size_t name_len; name_len = strlen (test_dir); name = malloc (name_len + sizeof ("/fcntlXXXXXX")); diff --git a/libc/posix/tst-exec.c b/libc/posix/tst-exec.c index a67d2000b..f3971e8c9 100644 --- a/libc/posix/tst-exec.c +++ b/libc/posix/tst-exec.c @@ -57,7 +57,7 @@ static const char fd2string[] = "This file should stay opened"; void do_prepare (int argc, char *argv[]) { - char name_len; + size_t name_len; name_len = strlen (test_dir); name1 = malloc (name_len + sizeof ("/execXXXXXX")); diff --git a/libc/posix/tst-preadwrite.c b/libc/posix/tst-preadwrite.c index 281044858..8227a8205 100644 --- a/libc/posix/tst-preadwrite.c +++ b/libc/posix/tst-preadwrite.c @@ -53,7 +53,7 @@ int fd; void do_prepare (int argc, char *argv[]) { - char name_len; + size_t name_len; #define FNAME FNAME2(TRUNCATE) #define FNAME2(s) "/" STRINGIFY(s) "XXXXXX" diff --git a/libc/posix/tst-spawn.c b/libc/posix/tst-spawn.c index 745f64d3b..4b5d89423 100644 --- a/libc/posix/tst-spawn.c +++ b/libc/posix/tst-spawn.c @@ -61,7 +61,7 @@ static const char fd3string[] = "This file will be opened"; void do_prepare (int argc, char *argv[]) { - char name_len; + size_t name_len; name_len = strlen (test_dir); name1 = (char *) malloc (name_len + sizeof ("/spawnXXXXXX")); diff --git a/libc/posix/tst-truncate.c b/libc/posix/tst-truncate.c index d78630640..78a513947 100644 --- a/libc/posix/tst-truncate.c +++ b/libc/posix/tst-truncate.c @@ -54,7 +54,7 @@ int fd; void do_prepare (int argc, char *argv[]) { - char name_len; + size_t name_len; #define FNAME FNAME2(TRUNCATE) #define FNAME2(s) "/" STRINGIFY(s) "XXXXXX" diff --git a/libc/rt/tst-aio.c b/libc/rt/tst-aio.c index 24efad3e2..ba50bdb08 100644 --- a/libc/rt/tst-aio.c +++ b/libc/rt/tst-aio.c @@ -48,7 +48,7 @@ int fd; void do_prepare (int argc, char *argv[]) { - char name_len; + size_t name_len; name_len = strlen (test_dir); name = malloc (name_len + sizeof ("/aioXXXXXX")); diff --git a/libc/rt/tst-aio64.c b/libc/rt/tst-aio64.c index 93e8cb213..b6d964fd5 100644 --- a/libc/rt/tst-aio64.c +++ b/libc/rt/tst-aio64.c @@ -49,7 +49,7 @@ int fd; void do_prepare (int argc, char *argv[]) { - char name_len; + size_t name_len; name_len = strlen (test_dir); name = malloc (name_len + sizeof ("/aioXXXXXX")); diff --git a/libc/stdlib/test-canon2.c b/libc/stdlib/test-canon2.c index ba491995b..f182e95ad 100644 --- a/libc/stdlib/test-canon2.c +++ b/libc/stdlib/test-canon2.c @@ -39,7 +39,7 @@ char *name2; void do_prepare (int argc, char *argv[]) { - char test_dir_len; + size_t test_dir_len; test_dir_len = strlen (test_dir); |