Discussion:
CVS commit: src/distrib/sets
Alan Barrett
2014-10-21 23:15:38 UTC
Permalink
Module Name: src
Committed By: apb
Date: Tue Oct 21 23:15:38 UTC 2014

Modified Files:
src/distrib/sets: join.awk

Log Message:
Add an unvis function and use it on file names in mtree specs.

This should correct the problem that ./bin/[ was missing from the
base.tgz set, despite being listed in src/distrib/sets/base/mi
and being present in METALOG. The corresponding entry in
METALOG.sanitised has ./bin/\133 instead of ./bin/[, and that made
join.awk omit it.

XXX: The unvis() implementation in join.awk handles only a subset
of the syntax, but it's probably good enough for now.

XXX: The file names should probably be canonicalised by
vis(unvis(name)), but at present none of the file names in the set
lists really need it.

XXX: It may be a bug that entries in the set lists without
corresponding entries in METALOG are silently ignored by join.awk.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/join.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Alan Barrett
2014-10-23 14:19:33 UTC
Permalink
Module Name: src
Committed By: apb
Date: Thu Oct 23 14:19:33 UTC 2014

Modified Files:
src/distrib/sets: join.awk

Log Message:
Add vis() function, and canonicalise file names via vis(unvis($1)).

XXX: The vis() function is very limited, due to the absence of ord()
in NetBSD's awk.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/sets/join.awk

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

Loading...