changeset 6831:dbfdd66854c9

#undef static. (etags_getcwd): Initialize bufsize.
author Richard M. Stallman <rms@gnu.org>
date Tue, 12 Apr 1994 15:21:25 +0000
parents bcaddbe53068
children 20f77b332d44
files lib-src/etags.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Tue Apr 12 15:11:58 1994 +0000
+++ b/lib-src/etags.c	Tue Apr 12 15:21:25 1994 +0000
@@ -28,7 +28,7 @@
  *	Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer.
  */
 
-char pot_etags_version[] = "@(#) pot revision number is 10.28";
+char pot_etags_version[] = "@(#) pot revision number is 10.29";
 
 #ifdef MSDOS
 #include <fcntl.h>
@@ -36,6 +36,10 @@
 
 #ifdef HAVE_CONFIG_H
 #include <../src/config.h>
+/* On some systems, Emacs defines static as nothing
+   for the sake of unexec.  We don't want that here
+   since we don't use unexec.  */
+#undef static
 #endif
 
 #include <stdio.h>
@@ -3135,7 +3139,7 @@
 {
   FILE *pipe;
   char *buf;
-  int bufsize;
+  int bufsize = 256;
 
   do
     {