]> code.delx.au - gnu-emacs/blobdiff - lib-src/test-distrib.c
* variables.texi (File Local Variables): Fix reference.
[gnu-emacs] / lib-src / test-distrib.c
index c27f0e35b07b8147cfdbcad1780d41a685fd0438..42aef07870ffa6ffa902ea130f5d6b40b54d87b5 100644 (file)
@@ -1,6 +1,7 @@
 /* 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-2013 Free Software Foundation,
+Inc.
 
 This file is part of GNU Emacs.
 
@@ -34,8 +35,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 +56,7 @@ int
 main (int argc, char **argv)
 {
   int fd;
+  char buf[300];
 
   if (argc != 2)
     {