]> git.eshelyaron.com Git - emacs.git/commitdiff
#undef static.
authorRichard M. Stallman <rms@gnu.org>
Tue, 12 Apr 1994 15:21:25 +0000 (15:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 12 Apr 1994 15:21:25 +0000 (15:21 +0000)
(etags_getcwd): Initialize bufsize.

lib-src/etags.c

index a9cf56fdc6d013d4fcc6e41969f8e1d25674f468..d0ce3081272e544575aa980e9234b453eaddd544 100644 (file)
@@ -28,7 +28,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  *     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 @@ char pot_etags_version[] = "@(#) pot revision number is 10.28";
 
 #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 @@ etags_getcwd ()
 {
   FILE *pipe;
   char *buf;
-  int bufsize;
+  int bufsize = 256;
 
   do
     {