mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-08-31 13:28:39 +00:00
* src/files.c (skeleton_find) [MSDOS]: Fix cp definition.
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
|
2002-01-21 Kees Zeelenberg <[email protected]>
|
||||||
|
|
||||||
|
* src/files.c (skeleton_find) [MSDOS]: Fix cp definition.
|
||||||
|
|
||||||
2002-01-20 Marc Autret <[email protected]>
|
2002-01-20 Marc Autret <[email protected]>
|
||||||
|
|
||||||
* src/system.h: Need to define __attribute__ away for non-GCC
|
* src/system.h: Need to define __attribute__ away for non-GCC
|
||||||
compilers as well (i.e. the vendor C compiler).
|
compilers as well (i.e. the vendor C compiler).
|
||||||
Suggested by Albert Chin-A-Young.
|
Suggested by Albert Chin-A-Young.
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
Bison News
|
Bison News
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Changes in version 1.31a, 2002-01-19:
|
Changes in version 1.31a:
|
||||||
|
|
||||||
* Fix YACC option output file names.
|
* Fix YACC option output file names
|
||||||
|
|
||||||
|
* Portability fixes
|
||||||
|
|
||||||
Changes in version 1.31, 2002-01-14:
|
Changes in version 1.31, 2002-01-14:
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Hans Aberg [email protected]
|
|||||||
Jesse Thilo [email protected]
|
Jesse Thilo [email protected]
|
||||||
Jim Meyering [email protected]
|
Jim Meyering [email protected]
|
||||||
Juan Manuel Guerrero [email protected]
|
Juan Manuel Guerrero [email protected]
|
||||||
|
Kees Zeelenberg [email protected]
|
||||||
Keith Browne [email protected]
|
Keith Browne [email protected]
|
||||||
Laurent Mascherpa [email protected]
|
Laurent Mascherpa [email protected]
|
||||||
Marc Autret [email protected]
|
Marc Autret [email protected]
|
||||||
|
|||||||
+1
-1
@@ -215,6 +215,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 */
|
||||||
@@ -227,7 +228,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