diff options
-rw-r--r-- | extension/ChangeLog | 2 | ||||
-rw-r--r-- | extension/gawkfts.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index 350ac972..70008f5a 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -2,6 +2,8 @@ * readdir.c, readdir.3am: Change argument to readdir_do_ftype() to be a string. Update the doc accordingly. + * gawkfts.h: Add explanatory comment before defines of API + names towards the end. Thanks to Eli Zaretskii for the suggestion. 2012-08-28 Andrew J. Schorr <aschorr@telemetry-investments.com> diff --git a/extension/gawkfts.h b/extension/gawkfts.h index 755ef98e..7773b770 100644 --- a/extension/gawkfts.h +++ b/extension/gawkfts.h @@ -113,6 +113,14 @@ typedef struct _ftsent { char fts_name[1]; /* file name */ } FTSENT; +/* + * Due to the wonders of modern linkers, shared libraries, + * compilers and other deep, dark, black magic voodoo, we + * redefined the identifiers so our code will use our version + * of these routines. See README.fts for a little bit more + * information and a lot more ranting. + */ + #define fts_children gawk_fts_children #define fts_close gawk_fts_close #define fts_open gawk_fts_open |