Commit 08c69097 authored by Paul Eggert's avatar Paul Eggert

* test-distrib.c (buf): Make this local, to avoid shadowing.

parent f0939c31
......@@ -4,6 +4,7 @@
But if the file already has the right ownership, don't worry about it.
* make-docfile.c (input_buffer): Rename variables to avoid shadowing.
* test-distrib.c (buf): Make this local, to avoid shadowing.
* movemail.c (main, pop_retr): Rename locals to avoid shadowing.
(progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
......@@ -34,8 +34,6 @@ static char string2[] = ".\n\
This file is read by the `test-distribution' program.\n\
If you change it, you will make that program fail.\n";
static char buf[300];
/* Like `read' but keeps trying until it gets SIZE bytes or reaches eof. */
static int
cool_read (int fd, char *buf, size_t size)
......@@ -57,6 +55,7 @@ int
main (int argc, char **argv)
int fd;
char buf[300];
if (argc != 2)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment