mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 15:00:34 -08:00
#undef static.
(etags_getcwd): Initialize bufsize.
This commit is contained in:
parent
396df3227d
commit
1ddff51c65
1 changed files with 6 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
* Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer.
|
* 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
|
#ifdef MSDOS
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
@ -36,6 +36,10 @@ char pot_etags_version[] = "@(#) pot revision number is 10.28";
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <../src/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
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -3135,7 +3139,7 @@ etags_getcwd ()
|
||||||
{
|
{
|
||||||
FILE *pipe;
|
FILE *pipe;
|
||||||
char *buf;
|
char *buf;
|
||||||
int bufsize;
|
int bufsize = 256;
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue