]> code.delx.au - gnu-emacs/blobdiff - lib-src/test-distrib.c
* lib-src/Makefile.in (INSTALL_DATA): Remove; unused.
[gnu-emacs] / lib-src / test-distrib.c
index c27f0e35b07b8147cfdbcad1780d41a685fd0438..b404c8230d17d8fa64a1864e136f48070b17f4de 100644 (file)
@@ -1,6 +1,6 @@
 /* test-distrib.c --- testing distribution of nonprinting chars
 
-Copyright (C) 1987, 1993-1995, 1999, 2001-2011  Free Software Foundation, Inc.
+Copyright (C) 1987, 1993-1995, 1999, 2001-2012  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -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)
     {