cwm duplicate path names

2013-02-26 Thread andres . p
i have both ~/bin/firefox and /usr/local/bin/firefox in PATH cwm will display both in preliminary results. this isn't useful because both have the same basename, so it's not possible to differentiate. not that i would want to distinguish anyway patch below uniqs them, preferring programs first in

btree(3) byte order checks don't make sense

2011-11-27 Thread andres . p
even though oracle still checks b.order at runtime, the rest of obsd db 1.85 functions, namely those pertaining to hash(3), use BYTE_ORDER so, 1. it's inconsistent to do runtime on btree but not on hash 2. complicating the code by checking endianness after assigning defaults -- even though all o

fdisk geom fixes

2011-07-04 Thread andres . p
cmd.c: x86* maxhead should be 255, not 256 make geom less useless by using disklabel for cyl, if available part.c: x86* maxhead should be 254, not 255 (other arches?) maxcyl gets set to 1023 before this function gets called, so it's a redundant check Index: src/sbin/fdisk/cmd.c ==