看板 DFBSD_commit 關於我們 聯絡資訊
liamfoy 2005/01/23 11:52:30 PST DragonFly src repository Modified files: usr.sbin/lptcontrol lptcontrol.c Log: General clean up of lptcontrol. Similar to FreeBSD 1.15 with my modifications: - Remove many unnecessary headers and sort them - Remove unused #define (PATH_LPCTL) - Don't bother calling set_interrupt_status. Just call both open(2) and ioctl(2) in main. - Remove modes in open(2) Revision Changes Path 1.4 +41 -36 src/usr.sbin/lptcontrol/lptcontrol.c http://www.dragonflybsd.org/cvsweb/src/usr.sbin/lptcontrol/lptcontrol.c.diff?r1=1.3&r2=1.4&f=u