* src/files.c (skeleton_find) [MSDOS]: Fix cp definition.

This commit is contained in:
Akim Demaille
2002-01-21 15:50:39 +00:00
parent fc6edc45c0
commit bec30531f7
3 changed files with 6 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
2002-01-21 Kees Zeelenberg <[email protected]>
* src/files.c (skeleton_find) [MSDOS]: Fix cp definition.
2002-01-20 Marc Autret <[email protected]>
* src/files.c (compute_output_file_names): Fix
+1
View File
@@ -17,6 +17,7 @@ Hans Aberg [email protected]
Jesse Thilo [email protected]
Jim Meyering [email protected]
Juan Manuel Guerrero [email protected]
Kees Zeelenberg [email protected]
Keith Browne [email protected]
Laurent Mascherpa [email protected]
Marc Autret [email protected]
+1 -1
View File
@@ -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);