diff options
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/cpascal.h | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog index 6423cf52157..fa6d3c416a5 100644 --- a/Build/source/texk/web2c/ChangeLog +++ b/Build/source/texk/web2c/ChangeLog @@ -1,3 +1,10 @@ +2009-05-18 Karl Berry <karl@tug.org> + + * cpascal.h (getline): #define to web2c_getline, + to try to avoid conflict with a newly broken POSIX and glibc. + Report from Gabriele Balducci via Taco, tlbuild mail + 17 May 2009 17:56:54. + 2009-05-12 Peter Breitenlohner <peb@mppmu.mpg.de> * vftovp.ch: Send print_real to stderr. diff --git a/Build/source/texk/web2c/cpascal.h b/Build/source/texk/web2c/cpascal.h index 20903abe2e5..7ce0a165d32 100644 --- a/Build/source/texk/web2c/cpascal.h +++ b/Build/source/texk/web2c/cpascal.h @@ -272,6 +272,15 @@ typedef struct option getoptstruct; #undef getname #define getname vms_getname #endif + +/* Apparently POSIX 2008 has getline and glibc 2.9.90 exports it. + tangle, weave, et al. use that symbol; try to define it away so + something that a standard won't usurp. */ +#ifdef getline +#undef getline +#endif +#define getline web2c_getline + /* Declarations for the routines we provide ourselves in lib/. */ |