mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
* src/files.c (skeleton_find) [MSDOS]: Fix cp definition.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2002-01-21 Kees Zeelenberg <kzlg@users.sourceforge.net>
|
||||||
|
|
||||||
|
* src/files.c (skeleton_find) [MSDOS]: Fix cp definition.
|
||||||
|
|
||||||
2002-01-20 Marc Autret <marc@gnu.org>
|
2002-01-20 Marc Autret <marc@gnu.org>
|
||||||
|
|
||||||
* src/files.c (compute_output_file_names): Fix
|
* src/files.c (compute_output_file_names): Fix
|
||||||
|
|||||||
1
THANKS
1
THANKS
@@ -17,6 +17,7 @@ Hans Aberg haberg@matematik.su.se
|
|||||||
Jesse Thilo jthilo@gnu.org
|
Jesse Thilo jthilo@gnu.org
|
||||||
Jim Meyering meyering@gnu.org
|
Jim Meyering meyering@gnu.org
|
||||||
Juan Manuel Guerrero ST001906@HRZ1.HRZ.TU-Darmstadt.De
|
Juan Manuel Guerrero ST001906@HRZ1.HRZ.TU-Darmstadt.De
|
||||||
|
Kees Zeelenberg kzlg@users.sourceforge.net
|
||||||
Keith Browne kbrowne@legato.com
|
Keith Browne kbrowne@legato.com
|
||||||
Laurent Mascherpa laurent.mascherpa@epita.fr
|
Laurent Mascherpa laurent.mascherpa@epita.fr
|
||||||
Marc Autret autret_m@epita.fr
|
Marc Autret autret_m@epita.fr
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ skeleton_find (const char *envvar, const char *skeleton_name)
|
|||||||
const char *res = getenv (envvar);
|
const char *res = getenv (envvar);
|
||||||
|
|
||||||
#if defined (MSDOS) || defined (_WIN32)
|
#if defined (MSDOS) || defined (_WIN32)
|
||||||
|
const char *cp = getenv ("INIT");
|
||||||
if (!res)
|
if (!res)
|
||||||
{
|
{
|
||||||
/* Skeleton file name without path */
|
/* Skeleton file name without path */
|
||||||
@@ -204,7 +205,6 @@ skeleton_find (const char *envvar, const char *skeleton_name)
|
|||||||
++skel_name;
|
++skel_name;
|
||||||
|
|
||||||
/* File doesn't exist in current directory; try in INIT directory. */
|
/* File doesn't exist in current directory; try in INIT directory. */
|
||||||
const char *cp = getenv ("INIT");
|
|
||||||
if (cp)
|
if (cp)
|
||||||
{
|
{
|
||||||
res = XMALLOC (char, strlen (cp) + strlen (skel_name) + 2);
|
res = XMALLOC (char, strlen (cp) + strlen (skel_name) + 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user