diff options
author | 2004-08-05 23:36:39 +0000 | |
---|---|---|
committer | 2004-08-05 23:36:39 +0000 | |
commit | ad3446f109525c71d267980fd08e9a8f8293847b (patch) | |
tree | a7f64490099e3e217ac51de1f26ca65a64d81c57 /sys | |
parent | - Remove the userland data limit check. It's mmap(2)'s job. (diff) | |
download | wireguard-openbsd-ad3446f109525c71d267980fd08e9a8f8293847b.tar.xz wireguard-openbsd-ad3446f109525c71d267980fd08e9a8f8293847b.zip |
refactor classes in PackingElement to share more code.
- all files go through FileBase, all directories go through DirBase.
- dirclass() is used to switch classes based on final /, so that
@sample, @extra, and @file all take directories as well.
- set NoDuplicateNames() more thoroughly.
- make sure all no-default-conflict objects are correct.
compute_fullname() checks for absolute paths, allowed for @sample and
@extra.
lastfile only gets set for actual files.
special names like INSTALL are only checked for normal files.
add a CVSTag class for @comment $OpenBSD$, so that these get sorted first.
Changes for make-plist rewrite:
clone() method that can create copies of all hash objects, to specialize
if needed.
add_object() method so that add() is now new() followed by add_object()
for most objects (useful for cloned objects).
Check that plist has a name in pkg_create, allowing PackingList to write
unnamed plists.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions