From owner-cvs-bin Mon Dec 15 12:37:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA11063 for cvs-bin-outgoing; Mon, 15 Dec 1997 12:37:54 -0800 (PST) (envelope-from owner-cvs-bin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA11010; Mon, 15 Dec 1997 12:37:25 -0800 (PST) (envelope-from eivind@FreeBSD.org) From: Eivind Eklund Received: (from eivind@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA19152; Mon, 15 Dec 1997 12:34:54 -0800 (PST) Date: Mon, 15 Dec 1997 12:34:54 -0800 (PST) Message-Id: <199712152034.MAA19152@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/rmail rmail.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk eivind 1997/12/15 12:34:53 PST Modified files: bin/rmail rmail.c Log: Revert 1.15 - duplicate code (initialization). Pointed-out-by: bde Revision Changes Path 1.16 +0 -5 src/bin/rmail/rmail.c From owner-cvs-bin Mon Dec 15 12:40:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA11475 for cvs-bin-outgoing; Mon, 15 Dec 1997 12:40:55 -0800 (PST) (envelope-from owner-cvs-bin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA11386; Mon, 15 Dec 1997 12:40:16 -0800 (PST) (envelope-from eivind@FreeBSD.org) From: Eivind Eklund Received: (from eivind@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA19223; Mon, 15 Dec 1997 12:37:44 -0800 (PST) Date: Mon, 15 Dec 1997 12:37:44 -0800 (PST) Message-Id: <199712152037.MAA19223@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/dd misc.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk eivind 1997/12/15 12:37:44 PST Modified files: bin/dd misc.c Log: It's more portable to use than Pointed-out-by: bde (a long while ago) Revision Changes Path 1.10 +2 -2 src/bin/dd/misc.c From owner-cvs-bin Fri Dec 19 12:24:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA15214 for cvs-bin-outgoing; Fri, 19 Dec 1997 12:24:39 -0800 (PST) (envelope-from owner-cvs-bin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA15042; Fri, 19 Dec 1997 12:23:29 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA03135; Fri, 19 Dec 1997 12:20:25 -0800 (PST) Date: Fri, 19 Dec 1997 12:20:25 -0800 (PST) Message-Id: <199712192020.MAA03135@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/rmdir rmdir.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/19 12:20:24 PST Modified files: bin/rmdir rmdir.c Log: Don't strip trailing slashes (for the initial rmdir). It breaks following of the symlink for `rmdir symlink/' and is unnecessary for ordinary directories (POSIX doesn't require rmdir(1) to do anything for trailing slashes; it requires rmdir(2) to let them "refer to a directory", and following the symlink for symlink/ is what BSD does). This also fixes bugs in the slash-stripping code (for paths consisting entirely of slashes, the pointer into the string was decremented to "before" the beginning of the string, and the path was at best stripped to "". The behaviour is unchanged except for the final directory for `rmdir -p ...'. There is no alternative to stripping intermediate slashes since they must be specified. The sloppy slash-stripping code is adequate for intermediate directories, since the all-slashes case fails early. Revision Changes Path 1.7 +1 -9 src/bin/rmdir/rmdir.c