diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-04-12 15:21:25 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-04-12 15:21:25 +0000 |
commit | 1ddff51c653bcddc0ef827c15d5bf2e3f87e622c (patch) | |
tree | 1be01febf5e6542ba94e3b51ba950dfd8f7d8d73 /lib-src | |
parent | 396df3227db7c12d0c29b029196ca75bc069d3ee (diff) | |
download | emacs-1ddff51c653bcddc0ef827c15d5bf2e3f87e622c.tar.gz |
#undef static.
(etags_getcwd): Initialize bufsize.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/etags.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index a9cf56fdc6d..d0ce3081272 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -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 { |