/* save-cwd.c -- Save and restore current working directory.
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/* Written Jim Meyering <meyering@na-net.ornl.gov>. */
+/* Written by Jim Meyering <meyering@na-net.ornl.gov>. */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h>
-# ifndef errno
+#ifndef errno
extern int errno;
#endif
}
# endif /* __sun__ || sun */
#else
-#define fchdir(x) (abort (), 0)
+# define fchdir(x) (abort (), 0)
have_working_fchdir = 0;
#endif
}
if (cwd->name)
free (cwd->name);
}
-