X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=builtins%2Fhashcom.h;h=5943b5b6b8ca151bc724ac3c777504eceaeeda09;hb=ccc6cda312fea9f0468ee65b8f368e9653e1380b;hp=defe2fc94a13ed719237bef1856e7107869484e0;hpb=726f63884db0132f01745f1fb4465e6621088ccf;p=platform%2Fupstream%2Fbash.git diff --git a/builtins/hashcom.h b/builtins/hashcom.h index defe2fc..5943b5b 100644 --- a/builtins/hashcom.h +++ b/builtins/hashcom.h @@ -18,7 +18,7 @@ with Bash; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include "../hash.h" +#include "../hashlib.h" #define FILENAME_HASH_BUCKETS 631 @@ -26,7 +26,10 @@ extern HASH_TABLE *hashed_filenames; typedef struct { char *path; /* The full pathname of the file. */ - int check_dot; /* Whether `.' appeared before this one in $PATH. */ + int flags; } PATH_DATA; +#define HASH_RELPATH 0x01 /* this filename is a relative pathname. */ +#define HASH_CHKDOT 0x02 /* check `.' since it was earlier in $PATH */ + #define pathdata(x) ((PATH_DATA *)(x)->data)