From owner-cvs-usrbin Sun Aug 25 14:04:06 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA07535 for cvs-usrbin-outgoing; Sun, 25 Aug 1996 14:04:06 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA07439; Sun, 25 Aug 1996 14:03:52 -0700 (PDT) Date: Sun, 25 Aug 1996 14:03:52 -0700 (PDT) From: Peter Wemm Message-Id: <199608252103.OAA07439@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/tail forward.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/25 14:03:52 Modified: usr.bin/tail forward.c Log: Fix some bogons: - timeval in select loop was depending on not having the remaining time returned from select(), causing a busy spin on an implementation that does implement it. - the err() usage was pretty bogus, some of the error messages had strerror attached manually and then reattached by err(). Revision Changes Path 1.3 +10 -11 src/usr.bin/tail/forward.c From owner-cvs-usrbin Sun Aug 25 14:12:33 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08379 for cvs-usrbin-outgoing; Sun, 25 Aug 1996 14:12:33 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08332; Sun, 25 Aug 1996 14:12:05 -0700 (PDT) Date: Sun, 25 Aug 1996 14:12:05 -0700 (PDT) From: Peter Wemm Message-Id: <199608252112.OAA08332@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/tail extern.h misc.c read.c reverse.c tail.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/25 14:12:05 Modified: usr.bin/tail extern.h misc.c read.c reverse.c tail.c Log: Argh! caught! *blush*.. This program was supplying it's own 'err' routine which was slightly different to the libc one. To save any more cunfusion, use the libc one. Revision Changes Path 1.3 +0 -1 src/usr.bin/tail/extern.h 1.2 +2 -33 src/usr.bin/tail/misc.c 1.5 +4 -4 src/usr.bin/tail/read.c 1.3 +5 -4 src/usr.bin/tail/reverse.c 1.2 +4 -4 src/usr.bin/tail/tail.c From owner-cvs-usrbin Sun Aug 25 14:14:41 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08541 for cvs-usrbin-outgoing; Sun, 25 Aug 1996 14:14:41 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08513; Sun, 25 Aug 1996 14:14:24 -0700 (PDT) Date: Sun, 25 Aug 1996 14:14:24 -0700 (PDT) From: Peter Wemm Message-Id: <199608252114.OAA08513@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/tail forward.c misc.c read.c reverse.c tail.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/25 14:14:23 Modified: usr.bin/tail forward.c misc.c read.c reverse.c tail.c Log: Dont forget to #include Revision Changes Path 1.4 +1 -0 src/usr.bin/tail/forward.c 1.3 +1 -0 src/usr.bin/tail/misc.c 1.6 +1 -0 src/usr.bin/tail/read.c 1.4 +1 -0 src/usr.bin/tail/reverse.c 1.3 +1 -0 src/usr.bin/tail/tail.c From owner-cvs-usrbin Mon Aug 26 13:38:21 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14372 for cvs-usrbin-outgoing; Mon, 26 Aug 1996 13:38:21 -0700 (PDT) Received: (from adam@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14344; Mon, 26 Aug 1996 13:37:52 -0700 (PDT) Date: Mon, 26 Aug 1996 13:37:52 -0700 (PDT) From: Adam David Message-Id: <199608262037.NAA14344@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/tail forward.c misc.c reverse.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk adam 96/08/26 13:37:51 Modified: usr.bin/tail forward.c misc.c reverse.c Log: complete err() changes, actually use warn() in most instances Revision Changes Path 1.5 +3 -3 src/usr.bin/tail/forward.c 1.4 +2 -1 src/usr.bin/tail/misc.c 1.5 +4 -5 src/usr.bin/tail/reverse.c From owner-cvs-usrbin Tue Aug 27 13:05:17 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA26317 for cvs-usrbin-outgoing; Tue, 27 Aug 1996 13:05:17 -0700 (PDT) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA26247; Tue, 27 Aug 1996 13:04:51 -0700 (PDT) Date: Tue, 27 Aug 1996 13:04:51 -0700 (PDT) From: Wolfram Schneider Message-Id: <199608272004.NAA26247@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin, cvs-usrbin, cvs-gnu, cvs-libexec, cvs-usrsbin Subject: cvs commit: src/bin/test TEST.sh src/gnu/usr.bin/man/apropos apropos.sh src/gnu/usr.bin/man/makewhatis makewhatis.1 makewhatis.local.8 makewhatis.local.sh makewhatis.perl src/usr.bin/locate/locate concatdb.sh mklocatedb.sh updatedb.sh src/usr.sbin/kbdmap kbdmap.1 kbdmap.pl src/usr.sbin/manctl manctl.8 src/usr.sbin/spkrtest spkrtest.8 spkrtest.pl src/usr.sbin/tzsetup tzsetup.8 src/gnu/usr.bin/gzip zgrep.getopt src/gnu/usr.bin/man/catman catman.1 catman.perl src/libexec/getNAME getNAME.1 src/usr.bin/calendar ostern.c src/usr.bin/killall killall.1 killall.pl src/usr.bin/which which.1 which.pl src/usr.sbin/adduser adduser.8 adduser.perl Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/08/27 13:04:47 Modified: bin/test TEST.sh gnu/usr.bin/gzip zgrep.getopt gnu/usr.bin/man/apropos apropos.sh gnu/usr.bin/man/catman catman.1 catman.perl gnu/usr.bin/man/makewhatis makewhatis.1 makewhatis.local.8 makewhatis.local.sh makewhatis.perl libexec/getNAME getNAME.1 usr.bin/calendar ostern.c usr.bin/killall killall.1 killall.pl usr.bin/locate/locate concatdb.sh mklocatedb.sh updatedb.sh usr.bin/which which.1 which.pl usr.sbin/adduser adduser.8 adduser.perl usr.sbin/kbdmap kbdmap.1 kbdmap.pl usr.sbin/manctl manctl.8 usr.sbin/spkrtest spkrtest.8 spkrtest.pl usr.sbin/tzsetup tzsetup.8 Log: sync copyright with /usr/share/examples/etc/bsd-style-copyright Revision Changes Path 1.2 +25 -2 src/bin/test/TEST.sh 1.2 +26 -3 src/gnu/usr.bin/gzip/zgrep.getopt 1.5 +2 -3 src/gnu/usr.bin/man/apropos/apropos.sh 1.8 +16 -23 src/gnu/usr.bin/man/catman/catman.1 1.8 +3 -12 src/gnu/usr.bin/man/catman/catman.perl 1.6 +14 -22 src/gnu/usr.bin/man/makewhatis/makewhatis.1 1.2 +24 -2 src/gnu/usr.bin/man/makewhatis/makewhatis.local.8 1.3 +25 -2 src/gnu/usr.bin/man/makewhatis/makewhatis.local.sh 1.11 +3 -9 src/gnu/usr.bin/man/makewhatis/makewhatis.perl 1.3 +5 -9 src/libexec/getNAME/getNAME.1 1.5 +26 -4 src/usr.bin/calendar/ostern.c 1.6 +1 -13 src/usr.bin/killall/killall.1 1.6 +15 -19 src/usr.bin/killall/killall.pl 1.2 +24 -2 src/usr.bin/locate/locate/concatdb.sh 1.2 +24 -2 src/usr.bin/locate/locate/mklocatedb.sh 1.4 +24 -2 src/usr.bin/locate/locate/updatedb.sh 1.6 +2 -2 src/usr.bin/which/which.1 1.7 +14 -21 src/usr.bin/which/which.pl 1.11 +14 -20 src/usr.sbin/adduser/adduser.8 1.15 +16 -26 src/usr.sbin/adduser/adduser.perl 1.6 +5 -18 src/usr.sbin/kbdmap/kbdmap.1 1.4 +4 -13 src/usr.sbin/kbdmap/kbdmap.pl 1.3 +23 -2 src/usr.sbin/manctl/manctl.8 1.2 +26 -5 src/usr.sbin/spkrtest/spkrtest.8 1.3 +26 -2 src/usr.sbin/spkrtest/spkrtest.pl 1.3 +23 -3 src/usr.sbin/tzsetup/tzsetup.8 From owner-cvs-usrbin Thu Aug 29 11:06:35 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA23395 for cvs-usrbin-outgoing; Thu, 29 Aug 1996 11:06:35 -0700 (PDT) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA23345; Thu, 29 Aug 1996 11:06:21 -0700 (PDT) Date: Thu, 29 Aug 1996 11:06:21 -0700 (PDT) From: Wolfram Schneider Message-Id: <199608291806.LAA23345@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin, cvs-usrbin, cvs-usrsbin, cvs-gnu, cvs-sbin Subject: cvs commit: src/usr.bin/ar ar.1 src/bin/chmod chmod.1 src/usr.sbin/chown chown.8 src/usr.bin/cmp cmp.1 src/bin/cp cp.1 src/bin/date date.1 src/bin/df df.1 src/usr.bin/du du.1 src/bin/ed ed.1 src/usr.bin/find find.1 src/usr.bin/hexdump od.1 src/bin/ln ln.1 src/bin/ls ls.1 src/usr.bin/mail mail.1 src/usr.bin/mesg mesg.1 src/bin/mkdir mkdir.1 src/sbin/mount mount.8 src/bin/mv mv.1 src/usr.bin/nm nm.1 src/usr.bin/pr pr.1 src/bin/rm rm.1 src/bin/rmdir rmdir.1 src/bin/sh sh.1 src/usr.bin/strip strip.1 src/usr.bin/su su.1 src/usr.bin/tty tty.1 src/usr.bin/wc wc.1 src/usr.bin/who who.1 src/usr.bin/write write.1 src/gnu/usr.bin/as as.1 src/gnu/usr.bin/dc dc.1 src/gnu/usr.bin/ld ld.1 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/08/29 11:06:20 Modified: usr.bin/ar ar.1 gnu/usr.bin/as as.1 bin/chmod chmod.1 usr.sbin/chown chown.8 usr.bin/cmp cmp.1 bin/cp cp.1 bin/date date.1 gnu/usr.bin/dc dc.1 bin/df df.1 usr.bin/du du.1 bin/ed ed.1 usr.bin/find find.1 usr.bin/hexdump od.1 gnu/usr.bin/ld ld.1 bin/ln ln.1 bin/ls ls.1 usr.bin/mail mail.1 usr.bin/mesg mesg.1 bin/mkdir mkdir.1 sbin/mount mount.8 bin/mv mv.1 usr.bin/nm nm.1 usr.bin/pr pr.1 bin/rm rm.1 bin/rmdir rmdir.1 bin/sh sh.1 usr.bin/strip strip.1 usr.bin/su su.1 usr.bin/tty tty.1 usr.bin/wc wc.1 usr.bin/who who.1 usr.bin/write write.1 Log: [HISTORY] command appeared in Version 1 AT&T UNIX Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Revision Changes Path 1.2 +7 -0 src/usr.bin/ar/ar.1 1.5 +7 -0 src/gnu/usr.bin/as/as.1 1.4 +6 -1 src/bin/chmod/chmod.1 1.2 +6 -0 src/usr.sbin/chown/chown.8 1.2 +6 -0 src/usr.bin/cmp/cmp.1 1.6 +6 -1 src/bin/cp/cp.1 1.8 +6 -1 src/bin/date/date.1 1.2 +6 -0 src/gnu/usr.bin/dc/dc.1 1.4 +2 -2 src/bin/df/df.1 1.5 +2 -1 src/usr.bin/du/du.1 1.7 +6 -1 src/bin/ed/ed.1 1.3 +6 -0 src/usr.bin/find/find.1 1.3 +6 -0 src/usr.bin/hexdump/od.1 1.11 +6 -2 src/gnu/usr.bin/ld/ld.1 1.3 +2 -2 src/bin/ln/ln.1 1.5 +2 -2 src/bin/ls/ls.1 1.7 +3 -2 src/usr.bin/mail/mail.1 1.2 +2 -1 src/usr.bin/mesg/mesg.1 1.3 +6 -1 src/bin/mkdir/mkdir.1 1.10 +2 -1 src/sbin/mount/mount.8 1.7 +6 -1 src/bin/mv/mv.1 1.3 +2 -1 src/usr.bin/nm/nm.1 1.2 +6 -0 src/usr.bin/pr/pr.1 1.4 +6 -1 src/bin/rm/rm.1 1.3 +6 -1 src/bin/rmdir/rmdir.1 1.6 +6 -1 src/bin/sh/sh.1 1.3 +2 -1 src/usr.bin/strip/strip.1 1.3 +2 -1 src/usr.bin/su/su.1 1.2 +6 -0 src/usr.bin/tty/tty.1 1.2 +6 -0 src/usr.bin/wc/wc.1 1.2 +2 -1 src/usr.bin/who/who.1 1.2 +2 -1 src/usr.bin/write/write.1 From owner-cvs-usrbin Thu Aug 29 14:51:57 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08934 for cvs-usrbin-outgoing; Thu, 29 Aug 1996 14:51:57 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08915; Thu, 29 Aug 1996 14:51:46 -0700 (PDT) Date: Thu, 29 Aug 1996 14:51:46 -0700 (PDT) From: Peter Wemm Message-Id: <199608292151.OAA08915@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/dig Makefile dig.1 dig.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/29 14:51:45 Modified: usr.bin/dig Makefile Removed: usr.bin/dig dig.1 dig.c Log: build bind-4.9.4-P1 dig in it's own directory Revision Changes Path 1.2 +8 -7 src/usr.bin/dig/Makefile From owner-cvs-usrbin Thu Aug 29 14:54:00 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA09139 for cvs-usrbin-outgoing; Thu, 29 Aug 1996 14:54:00 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA09121; Thu, 29 Aug 1996 14:53:46 -0700 (PDT) Date: Thu, 29 Aug 1996 14:53:46 -0700 (PDT) From: Peter Wemm Message-Id: <199608292153.OAA09121@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/host Makefile host.1 host.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/29 14:53:45 Modified: usr.bin/host Makefile Removed: usr.bin/host host.1 host.c Log: build bind-4.9.4-P1 host in it's own directory Revision Changes Path 1.2 +6 -2 src/usr.bin/host/Makefile From owner-cvs-usrbin Thu Aug 29 14:54:55 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA09231 for cvs-usrbin-outgoing; Thu, 29 Aug 1996 14:54:55 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA09211; Thu, 29 Aug 1996 14:54:43 -0700 (PDT) Date: Thu, 29 Aug 1996 14:54:43 -0700 (PDT) From: Peter Wemm Message-Id: <199608292154.OAA09211@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/dnsquery Makefile dnsquery.1 dnsquery.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/29 14:54:42 Modified: usr.bin/dnsquery Makefile Removed: usr.bin/dnsquery dnsquery.1 dnsquery.c Log: build bind-4.9.4-P1 dnsquery in it's own directory Revision Changes Path 1.2 +5 -1 src/usr.bin/dnsquery/Makefile From owner-cvs-usrbin Thu Aug 29 20:05:03 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28079 for cvs-usrbin-outgoing; Thu, 29 Aug 1996 20:05:03 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28047; Thu, 29 Aug 1996 20:04:52 -0700 (PDT) Date: Thu, 29 Aug 1996 20:04:52 -0700 (PDT) From: Peter Wemm Message-Id: <199608300304.UAA28047@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/rdist Makefile Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/29 20:04:51 Modified: usr.bin/rdist Makefile Log: Make the dependencies work a little better.. Revision Changes Path 1.4 +2 -2 src/usr.bin/rdist/Makefile From owner-cvs-usrbin Thu Aug 29 20:06:33 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28163 for cvs-usrbin-outgoing; Thu, 29 Aug 1996 20:06:33 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28144; Thu, 29 Aug 1996 20:06:19 -0700 (PDT) Date: Thu, 29 Aug 1996 20:06:19 -0700 (PDT) From: Peter Wemm Message-Id: <199608300306.UAA28144@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/locate/bigram locate.bigram.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/29 20:06:18 Modified: usr.bin/locate/bigram locate.bigram.c Log: delete unused #include Revision Changes Path 1.5 +1 -2 src/usr.bin/locate/bigram/locate.bigram.c From owner-cvs-usrbin Thu Aug 29 20:08:40 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28313 for cvs-usrbin-outgoing; Thu, 29 Aug 1996 20:08:40 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28293; Thu, 29 Aug 1996 20:08:30 -0700 (PDT) Date: Thu, 29 Aug 1996 20:08:30 -0700 (PDT) From: Peter Wemm Message-Id: <199608300308.UAA28293@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/locate/locate locate.c updatedb.csh Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/29 20:08:29 Modified: usr.bin/locate/locate locate.c Removed: usr.bin/locate/locate updatedb.csh Log: fix prototypes/forward declarations/return type kill obsolete updatedb.csh, it's been rewritten in sh now. Revision Changes Path 1.3 +5 -1 src/usr.bin/locate/locate/locate.c From owner-cvs-usrbin Sat Aug 31 00:43:12 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA27676 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 00:43:12 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA27657; Sat, 31 Aug 1996 00:43:05 -0700 (PDT) Date: Sat, 31 Aug 1996 00:43:05 -0700 (PDT) From: Julian Elischer Message-Id: <199608310743.AAA27657@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/netstat atalk.c if.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/31 00:43:04 Modified: usr.bin/netstat atalk.c if.c Log: fix printing of netranges in the i and r displays for netatalk Revision Changes Path 1.5 +39 -4 src/usr.bin/netstat/atalk.c 1.15 +2 -2 src/usr.bin/netstat/if.c From owner-cvs-usrbin Sat Aug 31 07:21:32 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA14293 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 07:21:32 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA14275; Sat, 31 Aug 1996 07:21:17 -0700 (PDT) Date: Sat, 31 Aug 1996 07:21:17 -0700 (PDT) From: Bruce Evans Message-Id: <199608311421.HAA14275@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/make make.1 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/08/31 07:21:16 Modified: usr.bin/make make.1 Log: Listed all the environment variables (MACHINE and PWD were missing). Documented PWD. MACHINE and MAKEOBJDIR are are still undocumented except in main.c. I will be changing MAKEOBJDIR back to its old behaviour so that the comment in main.c actually applies. Removed irrelevant misformatted text about make's name being argv[0]. Revision Changes Path 1.4 +27 -4 src/usr.bin/make/make.1 From owner-cvs-usrbin Sat Aug 31 07:22:51 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA14366 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 07:22:51 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA14337; Sat, 31 Aug 1996 07:22:37 -0700 (PDT) Date: Sat, 31 Aug 1996 07:22:37 -0700 (PDT) From: Bruce Evans Message-Id: <199608311422.HAA14337@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/make main.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/08/31 07:22:36 Modified: usr.bin/make main.c Log: Fixed a missing colon in `notyet' code. Revision Changes Path 1.8 +1 -1 src/usr.bin/make/main.c From owner-cvs-usrbin Sat Aug 31 07:51:32 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA15529 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 07:51:32 -0700 (PDT) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA15511; Sat, 31 Aug 1996 07:51:20 -0700 (PDT) Date: Sat, 31 Aug 1996 07:51:20 -0700 (PDT) From: Wolfram Schneider Message-Id: <199608311451.HAA15511@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/locate/bigram locate.bigram.c src/usr.bin/locate/code locate.code.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/08/31 07:51:19 Modified: usr.bin/locate/bigram locate.bigram.c usr.bin/locate/code locate.code.c Log: NULL -> '\0' Submitted by: Bruce, see also c-faq 5.6 and 5.9 Revision Changes Path 1.6 +5 -5 src/usr.bin/locate/bigram/locate.bigram.c 1.5 +7 -7 src/usr.bin/locate/code/locate.code.c From owner-cvs-usrbin Sat Aug 31 12:54:08 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07983 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 12:54:08 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA07978; Sat, 31 Aug 1996 12:54:05 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id MAA10610; Sat, 31 Aug 1996 12:54:06 -0700 (PDT) To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/make make.1 In-reply-to: Your message of "Sat, 31 Aug 1996 07:21:17 PDT." <199608311421.HAA14275@freefall.freebsd.org> Date: Sat, 31 Aug 1996 12:54:05 -0700 Message-ID: <10608.841521245@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Listed all the environment variables (MACHINE and PWD were missing). > Documented PWD. MACHINE and MAKEOBJDIR are are still undocumented > except in main.c. I will be changing MAKEOBJDIR back to its old > behaviour so that the comment in main.c actually applies. Just don't destroy the read-only source tree behavior please as I'll be actually using that in a project shortly and if you bring back obj links then you're going to see dueling CVS commits in the tree and a pair of very unhappy people. In other words, please feel free to replace it with something better, just don't eliminate the feature itself. Jordan From owner-cvs-usrbin Sat Aug 31 14:13:10 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA12522 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 14:13:10 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA12506; Sat, 31 Aug 1996 14:13:03 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id HAA06437; Sun, 1 Sep 1996 07:06:47 +1000 Date: Sun, 1 Sep 1996 07:06:47 +1000 From: Bruce Evans Message-Id: <199608312106.HAA06437@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, jkh@time.cdrom.com Subject: Re: cvs commit: src/usr.bin/make make.1 Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> except in main.c. I will be changing MAKEOBJDIR back to its old >> behaviour so that the comment in main.c actually applies. >Just don't destroy the read-only source tree behavior please as I'll >be actually using that in a project shortly and if you bring back obj >links then you're going to see dueling CVS commits in the tree and a >pair of very unhappy people. In other words, please feel free to >replace it with something better, just don't eliminate the feature >itself. Thanks for volunteering to test it ;-). Sources will be built in the current directory, or possibly in the obj subdirectory or link, unless this is overridden by setting MAKEOBJDIR or MAKEOBJTREE. Setting MAKEOBJTREE=/usr/obj will give the current behaviour except possibly for support for MACHINE. This already works except for stuff involving .TARGETOBJ. Setting MAKEOBJTREE=obj will give the old default behaviour so I'll probably remove the hard-coded default. Problems: 1. It's not easy to support setting MAKEOBJDIR or MAKEOBJTREE early enough in a makefile. The have to be environment variables now. It's not easy to support substition in these variables early enough. I would have preferred to use MAKEOBJDIR ?= ${.CURDIR:S;^;${MAKEOBJTREE};} The current method is essentially this with the `^' pattern hard-coded. 2. Appending `.${MACHINE}' to the object path is probably incompatible with .TARGETOBJ (because .TARGETOBJ has to be canonical and there's no point in having a tree full of xxx.i386's and xxx.alpha's - the trees may as well be separate under /usr/obj.i386 and /usr/obj.alpha. MAKEOBJTREE can handle this easily). 3. The cleanobj rule in -current is too dangerous. I think it removes the current directory if MAKEOBJDIR is "". Bruce *** pathnames.h~ Sat Jul 13 18:38:10 1996 --- pathnames.h Sat Aug 31 15:33:02 1996 *************** *** 35,39 **** */ ! #define _PATH_OBJDIR "/usr/obj" #define _PATH_DEFSHELLDIR "/bin" #define _PATH_DEFSYSMK "/usr/share/mk/sys.mk" --- 35,39 ---- */ ! #define _PATH_OBJDIR "obj" #define _PATH_DEFSHELLDIR "/bin" #define _PATH_DEFSYSMK "/usr/share/mk/sys.mk" *** main.c~ Thu Jul 18 10:14:59 1996 --- main.c Sat Aug 31 21:09:37 1996 *************** *** 383,388 **** char mdpath[MAXPATHLEN + 1]; char obpath[MAXPATHLEN + 1]; char cdpath[MAXPATHLEN + 1]; - char *realobjdir; /* Where we'd like to go */ struct utsname utsname; char *machine = getenv("MACHINE"); --- 383,388 ---- char mdpath[MAXPATHLEN + 1]; char obpath[MAXPATHLEN + 1]; + char obtreepath[MAXPATHLEN + 1]; char cdpath[MAXPATHLEN + 1]; struct utsname utsname; char *machine = getenv("MACHINE"); *************** *** 434,441 **** * current directory is also placed as a variable for make scripts. */ ! if (!(path = getenv("MAKEOBJDIR"))) ! path = _PATH_OBJDIR; ! (void) snprintf(mdpath, MAXPATHLEN, "%s%s", path, curdir); ! realobjdir = mdpath; /* This is where we'd _like_ to be, anyway */ if (stat(mdpath, &sb) == 0 && S_ISDIR(sb.st_mode)) { --- 434,451 ---- * current directory is also placed as a variable for make scripts. */ ! if (!(path = getenv("MAKEOBJDIR"))) { ! if (!(path = getenv("MAKEOBJTREE"))) ! path = _PATH_OBJDIR; ! else { ! (void) sprintf(obtreepath, "%s%s", path, curdir); ! path = obtreepath; ! } ! (void) sprintf(mdpath, "%s.%s", path, machine); ! } ! else ! (void) strncpy(mdpath, path, MAXPATHLEN + 1); ! #if 0 ! printf("path=%s, mdpath=%s\n", path, mdpath); ! #endif if (stat(mdpath, &sb) == 0 && S_ISDIR(sb.st_mode)) { *************** *** 455,460 **** } } ! else ! objdir = curdir; setenv("PWD", objdir, 1); --- 465,489 ---- } } ! else { ! if (stat(path, &sb) == 0 && S_ISDIR(sb.st_mode)) { ! ! if (chdir(path)) { ! (void)fprintf(stderr, "make warning: %s: %s.\n", ! path, strerror(errno)); ! objdir = curdir; ! } ! else { ! if (path[0] != '/') { ! (void) sprintf(obpath, "%s/%s", curdir, ! path); ! objdir = obpath; ! } ! else ! objdir = path; ! } ! } ! else ! objdir = curdir; ! } setenv("PWD", objdir, 1); *************** *** 500,504 **** Dir_AddDir(dirSearchPath, curdir); Var_Set(".CURDIR", curdir, VAR_GLOBAL); - Var_Set(".TARGETOBJDIR", realobjdir, VAR_GLOBAL); Var_Set(".OBJDIR", objdir, VAR_GLOBAL); --- 529,532 ---- *** bsd.obj.mk~ Mon Jul 15 14:48:44 1996 --- bsd.obj.mk Sat Aug 31 16:38:50 1996 *************** *** 77,89 **** .if !target(whereobj) whereobj: ! .if defined(NOOBJ) ! @echo ${.CURDIR} ! .else ! @if ! test -d ${.TARGETOBJDIR}; then \ ! echo ${.CURDIR}; \ ! else \ ! echo ${.TARGETOBJDIR}; \ ! fi ! .endif .endif --- 77,81 ---- .if !target(whereobj) whereobj: ! @cd ${.CURDIR}; ${MAKE} -V .OBJDIR .endif *************** *** 92,100 **** # cleanobj: ! @if [ -d ${.TARGETOBJDIR} ]; then \ ! rm -rf ${.TARGETOBJDIR}; \ ! else \ ! cd ${.CURDIR} && ${MAKE} clean cleandepend; \ ! fi .if defined(OBJLINK) @if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi --- 84,88 ---- # cleanobj: ! @if [ -d ${.CURDIR}/obj ]; then rm -rf ${.CURDIR}/obj; fi .if defined(OBJLINK) @if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi From owner-cvs-usrbin Sat Aug 31 14:30:24 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA14483 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 14:30:24 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA14474; Sat, 31 Aug 1996 14:30:21 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id OAA10937; Sat, 31 Aug 1996 14:30:08 -0700 (PDT) To: Bruce Evans cc: bde@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/make make.1 In-reply-to: Your message of "Sun, 01 Sep 1996 07:06:47 +1000." <199608312106.HAA06437@godzilla.zeta.org.au> Date: Sat, 31 Aug 1996 14:30:08 -0700 Message-ID: <10935.841527008@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Thanks for volunteering to test it ;-). Damn, how did that happen? Me and my big mouth! :-) > Sources will be built in the current directory, or possibly in the obj > subdirectory or link, unless this is overridden by setting MAKEOBJDIR > or MAKEOBJTREE. Setting MAKEOBJTREE=/usr/obj will give the current > behaviour except possibly for support for MACHINE. This already > works except for stuff involving .TARGETOBJ. Setting MAKEOBJTREE=obj > will give the old default behaviour so I'll probably remove the > hard-coded default. I think that's livable, provided that it works of course. I'll do some testing this afternoon. > #define _PATH_DEFSYSMK "/usr/share/mk/sys.mk" Actually, since you're in there already.. :-) Some folks have asked for the ability to use their own sys.mk and override the hardwiring in make. That certainly makes sense to me, so maybe _PATH_DEFSYSMK should have an optional "HOST_ROOT" environment variable expanded before it, or something to that effect? Jordan From owner-cvs-usrbin Sat Aug 31 15:03:29 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA19031 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 15:03:29 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA18977; Sat, 31 Aug 1996 15:03:15 -0700 (PDT) Date: Sat, 31 Aug 1996 15:03:15 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199608312203.PAA18977@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/fetch fetch.1 main.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/08/31 15:03:14 Modified: usr.bin/fetch fetch.1 main.c Log: Allow proper ftp verbosity with a new -v flag. Revision Changes Path 1.7 +3 -1 src/usr.bin/fetch/fetch.1 1.20 +10 -7 src/usr.bin/fetch/main.c From owner-cvs-usrbin Sat Aug 31 16:15:07 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA23635 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 16:15:07 -0700 (PDT) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA23597; Sat, 31 Aug 1996 16:14:56 -0700 (PDT) Date: Sat, 31 Aug 1996 16:14:56 -0700 (PDT) From: Wolfram Schneider Message-Id: <199608312314.QAA23597@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/locate/locate fastfind.c util.c Makefile locate.1 locate.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/08/31 16:14:55 Modified: usr.bin/locate/locate Makefile locate.1 locate.c Added: usr.bin/locate/locate fastfind.c util.c Log: optimized search algorithm faster IO due mmap(2) [-m | -s] better error check for damaged databases support for databases in network byte order (SunOS/sparc) optional case insensitve search [-i] optional multiple databases optional multiple pattern new enviroment variable LOCATE_PATH for database(s) [-S] print some statistic about the database [-l number] limit output to number file names [-c] suppress normal output; instead print a count of matching file names Revision Changes Path 1.6 +4 -1 src/usr.bin/locate/locate/Makefile 1.4 +127 -7 src/usr.bin/locate/locate/locate.1 1.4 +279 -113 src/usr.bin/locate/locate/locate.c From owner-cvs-usrbin Sat Aug 31 16:19:43 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA23858 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 16:19:43 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA23851; Sat, 31 Aug 1996 16:19:36 -0700 (PDT) Received: from campa.panke.de (anonymous216.ppp.cs.tu-berlin.de [130.149.17.216]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id AAA07459; Sun, 1 Sep 1996 00:57:54 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id AAA00748; Sun, 1 Sep 1996 00:39:45 +0200 Date: Sun, 1 Sep 1996 00:39:45 +0200 From: Wolfram Schneider Message-Id: <199608312239.AAA00748@campa.panke.de> To: "Jordan K. Hubbard" Cc: Bruce Evans , bde@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/make make.1 In-Reply-To: <10935.841527008@time.cdrom.com> References: <199608312106.HAA06437@godzilla.zeta.org.au> <10935.841527008@time.cdrom.com> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard writes: >> #define _PATH_DEFSYSMK "/usr/share/mk/sys.mk" > >Actually, since you're in there already.. :-) > >Some folks have asked for the ability to use their own sys.mk and >override the hardwiring in make. That certainly makes sense to me, so >maybe _PATH_DEFSYSMK should have an optional "HOST_ROOT" environment >variable expanded before it, or something to that effect? Use #define _PATH_DEFSYSMK "sys.mk" and the -I option for make(1) will work for sys.mk like for bsd.prog.mk, bsd.lib.mk etc. Wolfram From owner-cvs-usrbin Sat Aug 31 17:27:12 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA26395 for cvs-usrbin-outgoing; Sat, 31 Aug 1996 17:27:12 -0700 (PDT) Received: from sequent.kiae.su (sequent.kiae.su [193.125.152.6]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA26390; Sat, 31 Aug 1996 17:27:08 -0700 (PDT) Received: by sequent.kiae.su id AA06294 (5.65.kiae-2 ); Sun, 1 Sep 1996 04:25:09 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Sun, 1 Sep 96 04:25:08 +0400 Received: (from ache@localhost) by nagual.ru (8.7.5/8.7.3) id EAA04284; Sun, 1 Sep 1996 04:18:03 +0400 (MSD) Message-Id: <199609010018.EAA04284@nagual.ru> Subject: Re: cvs commit: src/usr.bin/locate/locate fastfind.c util.c Makefile locate.1 locate.c In-Reply-To: <199608312314.QAA23597@freefall.freebsd.org> from "Wolfram Schneider" at "Aug 31, 96 04:14:56 pm" To: wosch@freefall.freebsd.org (Wolfram Schneider) Date: Sun, 1 Sep 1996 04:18:02 +0400 (MSD) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL25 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > wosch 96/08/31 16:14:55 > > Modified: usr.bin/locate/locate Makefile locate.1 locate.c > Added: usr.bin/locate/locate fastfind.c util.c > Log: > optimized search algorithm > faster IO due mmap(2) [-m | -s] > better error check for damaged databases > support for databases in network byte order (SunOS/sparc) > optional case insensitve search [-i] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This thing must be localized to make it really work, are you wish to do it by yourself, or I can step in? -- Andrey A. Chernov http://www.nagual.ru/~ache/