Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/usr.sbin/mtree



Module Name:    basesrc
Committed By:   lukem
Date:           Mon Oct 22 07:07:46 UTC 2001

Modified Files:
        basesrc/usr.sbin/mtree: compare.c create.c extern.h misc.c mtree.c
            mtree.h spec.c verify.c

Log Message:
- enforce the top-most entry must be "." and must be a directory; avoids
  various potential problems when intermixing full and relative paths
- changes to make it much easier to use spec() - the specfile parser - in
  other programs (via .PATHing spec.c and misc.c):
        - move excludetags, includetags and keys from mtree.c to misc.c
        - implement mtree_err() using vwarnx() instead of assuming name is
          "mtree"
        - move inotype() and nodetype() from compare.c to misc.c
        - add nodetoinode(), to convert from an mtree F_* type to a
          mode_t S_IF* type
        - clean up #include use; don't assume "mtree.h" pulls in some
          standard includes
        - change spec() to take a FILE * arg (where the specfile is read from)


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 basesrc/usr.sbin/mtree/compare.c
cvs rdiff -r1.34 -r1.35 basesrc/usr.sbin/mtree/create.c
cvs rdiff -r1.14 -r1.15 basesrc/usr.sbin/mtree/extern.h
cvs rdiff -r1.17 -r1.18 basesrc/usr.sbin/mtree/misc.c
cvs rdiff -r1.20 -r1.21 basesrc/usr.sbin/mtree/mtree.c
cvs rdiff -r1.15 -r1.16 basesrc/usr.sbin/mtree/mtree.h
cvs rdiff -r1.33 -r1.34 basesrc/usr.sbin/mtree/spec.c
cvs rdiff -r1.21 -r1.22 basesrc/usr.sbin/mtree/verify.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index