~mdw
/
checkpath
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make flags be unsigned.
[checkpath]
/
checkpath.c
diff --git
a/checkpath.c
b/checkpath.c
index
4cf0e8f
..
28ca474
100644
(file)
--- a/
checkpath.c
+++ b/
checkpath.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: checkpath.c,v 1.
3 1999/05/21 22:07:20
mdw Exp $
+ * $Id: checkpath.c,v 1.
4 2001/01/25 22:16:02
mdw Exp $
*
* Check a path for safety
*
*
* Check a path for safety
*
@@
-29,6
+29,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: checkpath.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: checkpath.c,v $
+ * Revision 1.4 2001/01/25 22:16:02 mdw
+ * Make flags be unsigned.
+ *
* Revision 1.3 1999/05/21 22:07:20 mdw
* Take advantage of new dynamic string macros.
*
* Revision 1.3 1999/05/21 22:07:20 mdw
* Take advantage of new dynamic string macros.
*
@@
-75,13
+78,9
@@
struct elt {
char e_name[1]; /* Name of the directory */
};
char e_name[1]; /* Name of the directory */
};
-enum {
- f_sticky = 1 /* Directory has sticky bit set */
-};
+#define f_sticky 1u /* Directory has sticky bit set */
-enum {
- f_last = 1 /* This is the final item to check */
-};
+#define f_last 1u /* This is the final item to check */
/*----- Static variables --------------------------------------------------*/
/*----- Static variables --------------------------------------------------*/