From: Akim Demaille Date: Mon, 21 Jan 2002 15:50:39 +0000 (+0000) Subject: * src/files.c (skeleton_find) [MSDOS]: Fix cp definition. X-Git-Tag: before-m4-back-end~14 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/bec30531f782a6f4fe1466fb62b61352d873cb58?ds=sidebyside * src/files.c (skeleton_find) [MSDOS]: Fix cp definition. --- diff --git a/ChangeLog b/ChangeLog index 98569cf6..5d5d4a47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-01-21 Kees Zeelenberg + + * src/files.c (skeleton_find) [MSDOS]: Fix cp definition. + 2002-01-20 Marc Autret * src/files.c (compute_output_file_names): Fix diff --git a/THANKS b/THANKS index c592a8f6..e6424c84 100644 --- a/THANKS +++ b/THANKS @@ -17,6 +17,7 @@ Hans Aberg haberg@matematik.su.se Jesse Thilo jthilo@gnu.org Jim Meyering meyering@gnu.org Juan Manuel Guerrero ST001906@HRZ1.HRZ.TU-Darmstadt.De +Kees Zeelenberg kzlg@users.sourceforge.net Keith Browne kbrowne@legato.com Laurent Mascherpa laurent.mascherpa@epita.fr Marc Autret autret_m@epita.fr diff --git a/src/files.c b/src/files.c index 4f17352a..22f29c1e 100644 --- a/src/files.c +++ b/src/files.c @@ -192,6 +192,7 @@ skeleton_find (const char *envvar, const char *skeleton_name) const char *res = getenv (envvar); #if defined (MSDOS) || defined (_WIN32) + const char *cp = getenv ("INIT"); if (!res) { /* Skeleton file name without path */ @@ -204,7 +205,6 @@ skeleton_find (const char *envvar, const char *skeleton_name) ++skel_name; /* File doesn't exist in current directory; try in INIT directory. */ - const char *cp = getenv ("INIT"); if (cp) { res = XMALLOC (char, strlen (cp) + strlen (skel_name) + 2);