From owner-cvs-bin Sun Oct 1 07:17:41 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA15084 for cvs-bin-outgoing; Sun, 1 Oct 1995 07:17:41 -0700 Received: (from markm@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA15073 ; Sun, 1 Oct 1995 07:17:33 -0700 Date: Sun, 1 Oct 1995 07:17:33 -0700 From: Mark Murray Message-Id: <199510011417.HAA15073@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/ed Makefile Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk markm 95/10/01 07:17:32 Modified: bin/ed Makefile Log: Use the same make technique as passwd and xntpd for the secure ed(1). This will allow the secure/bin/ed directory to be cleaned out and the bin/Makefile to be cleaned up. From owner-cvs-bin Sun Oct 1 07:24:16 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA15223 for cvs-bin-outgoing; Sun, 1 Oct 1995 07:24:16 -0700 Received: (from markm@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA15212 ; Sun, 1 Oct 1995 07:24:05 -0700 Date: Sun, 1 Oct 1995 07:24:05 -0700 From: Mark Murray Message-Id: <199510011424.HAA15212@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin Makefile Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk markm 95/10/01 07:24:04 Modified: bin Makefile Log: ed/Makefile is able to 'decide' for itself whether to build secure or unceumbered ed. Remove the superfluous .if (...) / .endif From owner-cvs-bin Sun Oct 1 07:55:18 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA16175 for cvs-bin-outgoing; Sun, 1 Oct 1995 07:55:18 -0700 Received: (from markm@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA16164 ; Sun, 1 Oct 1995 07:55:09 -0700 Date: Sun, 1 Oct 1995 07:55:09 -0700 From: Mark Murray Message-Id: <199510011455.HAA16164@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin Makefile.inc Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk markm 95/10/01 07:55:08 Modified: bin Makefile.inc Log: Define CRYPTOBJDIR if secure is being built From owner-cvs-bin Sun Oct 1 08:11:50 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA16873 for cvs-bin-outgoing; Sun, 1 Oct 1995 08:11:50 -0700 Received: (from joerg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA16862 ; Sun, 1 Oct 1995 08:11:44 -0700 Date: Sun, 1 Oct 1995 08:11:44 -0700 From: Joerg Wunsch Message-Id: <199510011511.IAA16862@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/sh options.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk joerg 95/10/01 08:11:44 Modified: bin/sh options.c Log: Posixize: sh -c [-aCefinuvx] command_string [ command_name [argument ...] ] 1 4.56.3 Options -c Read commands from the command_string operand. Set the value of special parameter 0 (see 3.5.2) from the value of the command_name operand and the positional parameters ($1, $2, etc.) in sequence from the remaining argument operands. Pointed out by: Kaleb Keithly (kaleb@x.org) From owner-cvs-bin Sun Oct 1 08:13:38 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA17018 for cvs-bin-outgoing; Sun, 1 Oct 1995 08:13:38 -0700 Received: (from joerg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA17009 ; Sun, 1 Oct 1995 08:13:34 -0700 Date: Sun, 1 Oct 1995 08:13:34 -0700 From: Joerg Wunsch Message-Id: <199510011513.IAA17009@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/sh mkinit.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk joerg 95/10/01 08:13:33 Modified: bin/sh mkinit.c Log: Make the mkinit internal command issue an #undef for each #define, to avoid "duplicate definition" warnings. From owner-cvs-bin Sun Oct 1 09:31:13 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA19183 for cvs-bin-outgoing; Sun, 1 Oct 1995 09:31:13 -0700 Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA19178 ; Sun, 1 Oct 1995 09:31:05 -0700 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id RAA23468; Sun, 1 Oct 1995 17:29:29 +0100 Message-Id: <199510011629.RAA23468@gilberto.physik.rwth-aachen.de> Subject: Re: cvs commit: src/bin/sh options.c To: joerg@freefall.freebsd.org (Joerg Wunsch) Date: Sun, 1 Oct 1995 17:29:28 +0100 (MET) Cc: cvs-bin@freefall.freebsd.org, CVS-commiters@freefall.freebsd.org In-Reply-To: <199510011511.IAA16862@freefall.freebsd.org> from "Joerg Wunsch" at Oct 1, 95 08:11:44 am From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 747 Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk > > joerg 95/10/01 08:11:44 > > Modified: bin/sh options.c > Log: > Posixize: > > sh -c [-aCefinuvx] command_string [ command_name [argument ...] ] 1 > > 4.56.3 Options > > -c Read commands from the command_string operand. Set the > value of special parameter 0 (see 3.5.2) from the value of > the command_name operand and the positional parameters > ($1, $2, etc.) in sequence from the remaining argument > operands. > > Pointed out by: Kaleb Keithly (kaleb@x.org) Keithley :) not that I want to appear nitpicky. > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de From owner-cvs-bin Sun Oct 1 11:06:02 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA21107 for cvs-bin-outgoing; Sun, 1 Oct 1995 11:06:02 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA21098 ; Sun, 1 Oct 1995 11:05:50 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA27932; Sun, 1 Oct 1995 19:05:39 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id TAA29070; Sun, 1 Oct 1995 19:05:38 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id TAA21291; Sun, 1 Oct 1995 19:04:54 +0100 From: J Wunsch Message-Id: <199510011804.TAA21291@uriah.heep.sax.de> Subject: Re: cvs commit: src/bin/sh options.c To: kuku@gilberto.physik.rwth-aachen.de Date: Sun, 1 Oct 1995 19:04:54 +0100 (MET) Cc: joerg@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, CVS-commiters@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199510011629.RAA23468@gilberto.physik.rwth-aachen.de> from "Christoph Kukulies" at Oct 1, 95 05:29:28 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 404 Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk As Christoph Kukulies wrote: > > > Pointed out by: Kaleb Keithly (kaleb@x.org) > Keithley > :) not that I want to appear nitpicky. I should have used the mouse... but Kaleb's name wasn't in any xterm when i started the commit. :} -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) From owner-cvs-bin Mon Oct 2 00:55:27 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA20087 for cvs-bin-outgoing; Mon, 2 Oct 1995 00:55:27 -0700 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA20078 ; Mon, 2 Oct 1995 00:55:20 -0700 Date: Mon, 2 Oct 1995 00:55:20 -0700 From: David Greenman Message-Id: <199510020755.AAA20078@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/sh mkinit.c options.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk davidg 95/10/02 00:55:19 Branch: bin/sh RELENG_2_1_0 Modified: bin/sh mkinit.c options.c Log: Brought in changes from main branch: conform to POSIX.2 with -c; #undef things first to avoid redefined compile warnings. From owner-cvs-bin Tue Oct 3 05:46:52 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA28129 for cvs-bin-outgoing; Tue, 3 Oct 1995 05:46:52 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA28104 ; Tue, 3 Oct 1995 05:46:40 -0700 Date: Tue, 3 Oct 1995 05:46:40 -0700 From: Bruce Evans Message-Id: <199510031246.FAA28104@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/cat cat.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk bde 95/10/03 05:46:39 Modified: bin/cat cat.c Log: Fix exit status. `cat no-such-file >/dev/null' exited with status 0. This has been broken since cat's own err() function was sloppily replaced by the library functions warn() and err(). From owner-cvs-bin Tue Oct 3 05:55:13 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA28880 for cvs-bin-outgoing; Tue, 3 Oct 1995 05:55:13 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA28858 ; Tue, 3 Oct 1995 05:55:03 -0700 Date: Tue, 3 Oct 1995 05:55:03 -0700 From: Bruce Evans Message-Id: <199510031255.FAA28858@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/cp utils.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk bde 95/10/03 05:55:02 Modified: bin/cp utils.c Log: Preserve sticky bit for `cp -pR'. It was already preserved for `cp -R'. This also fixes loss of the sticky bit for `mv' across file systems. From owner-cvs-bin Tue Oct 3 06:42:34 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA02804 for cvs-bin-outgoing; Tue, 3 Oct 1995 06:42:34 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA02759 ; Tue, 3 Oct 1995 06:42:12 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id XAA17640; Tue, 3 Oct 1995 23:37:05 +1000 Date: Tue, 3 Oct 1995 23:37:05 +1000 From: Bruce Evans Message-Id: <199510031337.XAA17640@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-bin@freefall.freebsd.org Subject: Re: cvs commit: src/bin/cat cat.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk > Modified: bin/cat cat.c > Log: > Fix exit status. `cat no-such-file >/dev/null' exited with status 0. > This has been broken since cat's own err() function was sloppily > replaced by the library functions warn() and err(). This should probably go in 2.1. Bruce From owner-cvs-bin Tue Oct 3 06:49:46 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA03457 for cvs-bin-outgoing; Tue, 3 Oct 1995 06:49:46 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA03440 ; Tue, 3 Oct 1995 06:49:35 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id XAA18032; Tue, 3 Oct 1995 23:46:17 +1000 Date: Tue, 3 Oct 1995 23:46:17 +1000 From: Bruce Evans Message-Id: <199510031346.XAA18032@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-bin@freefall.freebsd.org Subject: Re: cvs commit: src/bin/cp utils.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk > Modified: bin/cp utils.c > Log: > Preserve sticky bit for `cp -pR'. It was already preserved for `cp -R'. > This also fixes loss of the sticky bit for `mv' across file systems. This should probably go in 2.1. I plan to fix `cp -f' soon too (-f just truns off -i; it doesn't remove the target like it is supposed to). Other bugs in cp include: - `cp -pR' doesn't preserve timestamps on directories. - `cp -pR' doesn't preserve links. These problems are most serious when `cp -pRP' is used by `mv' to move directory trees across file systems. Bruce From owner-cvs-bin Tue Oct 3 08:45:07 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA07199 for cvs-bin-outgoing; Tue, 3 Oct 1995 08:45:07 -0700 Received: (from markm@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA07183 ; Tue, 3 Oct 1995 08:44:53 -0700 Date: Tue, 3 Oct 1995 08:44:53 -0700 From: Mark Murray Message-Id: <199510031544.IAA07183@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/ed Makefile Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk markm 95/10/03 08:44:52 Modified: bin/ed Makefile Log: Correctly build the secure ed(1) only if secure/ exists. Pointed out by: bde From owner-cvs-bin Thu Oct 5 00:21:06 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA22723 for cvs-bin-outgoing; Thu, 5 Oct 1995 00:21:06 -0700 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA22714 ; Thu, 5 Oct 1995 00:21:01 -0700 Date: Thu, 5 Oct 1995 00:21:01 -0700 From: David Greenman Message-Id: <199510050721.AAA22714@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/cat cat.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk davidg 95/10/05 00:21:00 Branch: bin/cat RELENG_2_1_0 Modified: bin/cat cat.c Log: Brought in changes from rev 1.3: return proper exit status. From owner-cvs-bin Thu Oct 5 00:25:04 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA22966 for cvs-bin-outgoing; Thu, 5 Oct 1995 00:25:04 -0700 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA22930 ; Thu, 5 Oct 1995 00:24:40 -0700 Date: Thu, 5 Oct 1995 00:24:40 -0700 From: David Greenman Message-Id: <199510050724.AAA22930@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/cp utils.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk davidg 95/10/05 00:24:37 Branch: bin/cp RELENG_2_1_0 Modified: bin/cp utils.c Log: Brought in changes from rev 1.5: preserve sticky bit. From owner-cvs-bin Thu Oct 5 00:28:37 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA23119 for cvs-bin-outgoing; Thu, 5 Oct 1995 00:28:37 -0700 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA23110 ; Thu, 5 Oct 1995 00:28:30 -0700 Date: Thu, 5 Oct 1995 00:28:30 -0700 From: David Greenman Message-Id: <199510050728.AAA23110@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/ls ls.1 Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk davidg 95/10/05 00:28:29 Branch: bin/ls RELENG_2_1_0 Modified: bin/ls ls.1 Log: Sync with main branch. From owner-cvs-bin Thu Oct 5 00:46:46 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA24281 for cvs-bin-outgoing; Thu, 5 Oct 1995 00:46:46 -0700 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA24268 ; Thu, 5 Oct 1995 00:46:40 -0700 Date: Thu, 5 Oct 1995 00:46:40 -0700 From: David Greenman Message-Id: <199510050746.AAA24268@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/ps keyword.c print.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk davidg 95/10/05 00:46:39 Branch: bin/ps RELENG_2_1_0 Modified: bin/ps keyword.c print.c Log: Brought in changes from main branch: widen TT field by one char. From owner-cvs-bin Sat Oct 7 03:43:14 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA24790 for cvs-bin-outgoing; Sat, 7 Oct 1995 03:43:14 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA24755 ; Sat, 7 Oct 1995 03:42:52 -0700 Date: Sat, 7 Oct 1995 03:42:52 -0700 From: Bruce Evans Message-Id: <199510071042.DAA24755@freefall.freebsd.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/mv mv.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk bde 95/10/07 03:42:51 Modified: bin/mv mv.c Log: Handle trailing slashes in source filenames correctly. E.g., rewrite `mv foo/ ../..' to `mv foo/ ../../foo/', not to `mv foo/ ../../'. The latter caused a panic. Before the trailing slash changes in the kernel, the trailing slashes caused the rename() for this mv to fail earlier, so there was no panic in 2.0. Fixes part of PR 760. From owner-cvs-bin Sat Oct 7 11:19:54 1995 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA12879 for cvs-bin-outgoing; Sat, 7 Oct 1995 11:19:54 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA12869 ; Sat, 7 Oct 1995 11:19:46 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA32435; Sun, 8 Oct 1995 04:18:24 +1000 Date: Sun, 8 Oct 1995 04:18:24 +1000 From: Bruce Evans Message-Id: <199510071818.EAA32435@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-bin@freefall.freebsd.org Subject: Re: cvs commit: src/bin/mv mv.c Sender: owner-cvs-bin@FreeBSD.org Precedence: bulk > Modified: bin/mv mv.c > Log: > Handle trailing slashes in source filenames correctly. E.g., rewrite > `mv foo/ ../..' to `mv foo/ ../../foo/', not to `mv foo/ ../../'. The > latter caused a panic. Before the trailing slash changes in the kernel, > the trailing slashes caused the rename() for this mv to fail earlier, so > there was no panic in 2.0. > > Fixes part of PR 760. This change should (:-) be in 2.1. It's interesting that the usual method for finding the basename (see more/ commands.c for a topical example of the usual method) doesn't actually work. cp(1) does similar things to mv(1) and gets the basename right by stripping trailing slashes. Stripping trailing slashes isn't quite right for the spacial path "//" but there is no problem with this in cp or mv since a source path of "//" or "/" is invalid for other reasons. basename(1) already handles trailing slashes correctly except it strips them all. basename.c has many comments that seem to be direct quotes from POSIX.2 to help it DTRT. basename.1 seems to be out of sync with the sources and is confusing. Bruce