aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-09-12 11:44:01 +0000
committerUlrich Drepper <drepper@redhat.com>2006-09-12 11:44:01 +0000
commit30aa57851a93d6efd6493c5a29cf82f58083bdf4 (patch)
tree98b5c02208d0b53238de1d51ecf4cc83fb5e653b /io
parent41aba3d764a72e48fa5bb08969653582c38f319f (diff)
downloadglibc-30aa57851a93d6efd6493c5a29cf82f58083bdf4.zip
glibc-30aa57851a93d6efd6493c5a29cf82f58083bdf4.tar.gz
glibc-30aa57851a93d6efd6493c5a29cf82f58083bdf4.tar.bz2
[BZ #2526, BZ #3138, BZ #3143]
2006-09-12 Jakub Jelinek <jakub@redhat.com> [BZ #2526] * README.libm: Fix a thinko in sqrt algorithm description. [BZ #3143] * manual/string.texi (argz_delete): Fix prototype. Patch by <alpt@freaknet.org>. 2006-08-26 Joseph Myers <joseph@codesourcery.com> [BZ #3138] * 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.
Diffstat (limited to 'io')
-rw-r--r--io/test-lfs.c2
-rw-r--r--io/tst-fcntl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/io/test-lfs.c b/io/test-lfs.c
index a4669c3..c27af40 100644
--- a/io/test-lfs.c
+++ b/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/io/tst-fcntl.c b/io/tst-fcntl.c
index fed8849..93ea9b0 100644
--- a/io/tst-fcntl.c
+++ b/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"));