aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--iconv/tst-iconv3.c4
-rw-r--r--stdio-common/tst-fdopen.c2
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ae24014..6a5fd87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-03-24 Andreas Jaeger <aj@suse.de>
+
+ * manual/memory.texi (Aligned Memory Blocks): Fix typo.
+
+ * stdio-common/tst-fdopen.c (main): Remove unused variable.
+
+ * iconv/tst-iconv3.c (main): Use correct printf strings.
+
2002-03-18 Roland McGrath <roland@frob.com>
* sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type.
diff --git a/iconv/tst-iconv3.c b/iconv/tst-iconv3.c
index f613ed9..7d92d3b 100644
--- a/iconv/tst-iconv3.c
+++ b/iconv/tst-iconv3.c
@@ -41,9 +41,9 @@ main (int argc, char *argv[])
printf ("Received something else\n");
printf ("inptr change: %td\n", inptr - inbuf);
- printf ("inlen change: %d\n", BUFSIZE - inbytes_left);
+ printf ("inlen change: %zd\n", BUFSIZE - inbytes_left);
printf ("outptr change: %zd\n", outptr - (char *) outbuf);
- printf ("outlen change: %d\n", BUFSIZE * 4 - outbytes_left);
+ printf ("outlen change: %zd\n", BUFSIZE * 4 - outbytes_left);
result = 1;
}
else
diff --git a/stdio-common/tst-fdopen.c b/stdio-common/tst-fdopen.c
index bbdc4c8..98acaed 100644
--- a/stdio-common/tst-fdopen.c
+++ b/stdio-common/tst-fdopen.c
@@ -20,7 +20,7 @@ main (int argc, char *argv[])
char *name;
FILE *fp = NULL;
int retval = 0;
- int c, fd;
+ int fd;
name = tmpnam (NULL);
fp = fopen (name, "w");