diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-09-07 13:35:39 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-09-07 13:35:39 +0300 |
commit | 68698dede294f3690dc0e51eeb76f18f420f8b8a (patch) | |
tree | b2c412ae9a6c7b695f265b3cc8dd877d30525aeb | |
parent | 000380108735d54f472a7825a865d0308ed357cb (diff) | |
download | egawk-68698dede294f3690dc0e51eeb76f18f420f8b8a.tar.gz egawk-68698dede294f3690dc0e51eeb76f18f420f8b8a.tar.bz2 egawk-68698dede294f3690dc0e51eeb76f18f420f8b8a.zip |
Add some comments in extension/gawkfts.h.
-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 |