projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported from ../bash-2.0.tar.gz.
[platform/upstream/bash.git]
/
builtins
/
hashcom.h
diff --git
a/builtins/hashcom.h
b/builtins/hashcom.h
index
defe2fc
..
5943b5b
100644
(file)
--- 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. */
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 "../hash
lib
.h"
#define FILENAME_HASH_BUCKETS 631
#define FILENAME_HASH_BUCKETS 631
@@
-26,7
+26,10
@@
extern HASH_TABLE *hashed_filenames;
typedef struct {
char *path; /* The full pathname of the file. */
typedef struct {
char *path; /* The full pathname of the file. */
- int
check_dot; /* Whether `.' appeared before this one in $PATH. */
+ int
flags;
} PATH_DATA;
} 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)
#define pathdata(x) ((PATH_DATA *)(x)->data)