~mdw
/
fwd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7811173
)
Delimiter-setting function names change.
author
mdw
<mdw>
Sun, 13 Jan 2002 14:50:22 +0000
(14:50 +0000)
committer
mdw
<mdw>
Sun, 13 Jan 2002 14:50:22 +0000
(14:50 +0000)
fattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fattr.c
b/fattr.c
index
75491a6
..
adf052d
100644
(file)
--- a/
fattr.c
+++ b/
fattr.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: fattr.c,v 1.
2 1999/08/19 18:32:48
mdw Exp $
+ * $Id: fattr.c,v 1.
3 2002/01/13 14:50:22
mdw Exp $
*
* Handling of file attributes
*
*
* Handling of file attributes
*
@@
-29,6
+29,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: fattr.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: fattr.c,v $
+ * Revision 1.3 2002/01/13 14:50:22 mdw
+ * Delimiter-setting function names change.
+ *
* Revision 1.2 1999/08/19 18:32:48 mdw
* Improve lexical analysis. In particular, `chmod' patterns don't have to
* be quoted any more.
* Revision 1.2 1999/08/19 18:32:48 mdw
* Improve lexical analysis. In particular, `chmod' patterns don't have to
* be quoted any more.
@@
-104,14
+107,14
@@
int fattr_option(scanner *sc, fattr *f)
/* --- Gobble an optional `=' sign --- */
/* --- Gobble an optional `=' sign --- */
-
undelim(
0, ",=+-");
+
conf_undelim(sc,
0, ",=+-");
token(sc);
if (sc->t == '=')
token(sc);
if (sc->t != CTOK_WORD)
error(sc, "parse error, expected file mode");
token(sc);
if (sc->t == '=')
token(sc);
if (sc->t != CTOK_WORD)
error(sc, "parse error, expected file mode");
-
undelim(
0, 0);
+
conf_undelim(sc,
0, 0);
/* --- If it looks digitlike, read as octal --- */
/* --- If it looks digitlike, read as octal --- */