# HG changeset patch # User Richard M. Stallman # Date 766164085 0 # Node ID dbfdd66854c9f878b7a90d5be523217bd6775566 # Parent bcaddbe530681dc2230a624c0d50a65c94ef5810 #undef static. (etags_getcwd): Initialize bufsize. diff -r bcaddbe53068 -r dbfdd66854c9 lib-src/etags.c --- 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 @@ -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 @@ -3135,7 +3139,7 @@ { FILE *pipe; char *buf; - int bufsize; + int bufsize = 256; do {