Module Name: src Committed By: apb Date: Wed Aug 15 12:48:20 UTC 2012
Modified Files: src/usr.sbin/postinstall: postinstall Log Message: Don't rely on stat(1) with format "%SHr" to print the correct names. That uses devname(3) internally, which doesn't work at all in a cross build environment, and doesn't do what I thought even in a native environment. Instead, parse the device major numbers for the pty master and slave devices from the output of "MAKEDEV -s pty0" and check those against the actual device node that we are thinking of removing. To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145 src/usr.sbin/postinstall/postinstall Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.