From owner-cvs-bin Sun Dec 7 12:51:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA21494 for cvs-bin-outgoing; Sun, 7 Dec 1997 12:51:41 -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 MAA21425; Sun, 7 Dec 1997 12:51:08 -0800 (PST) (envelope-from wosch@FreeBSD.org) From: Wolfram Schneider Received: (from wosch@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA22469; Sun, 7 Dec 1997 12:49:41 -0800 (PST) Date: Sun, 7 Dec 1997 12:49:41 -0800 (PST) Message-Id: <199712072049.MAA22469@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/rcp rcp.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 1997/12/07 12:49:41 PST Modified files: bin/rcp rcp.c Log: Use `cp -R' instead `cp -r' for local to local coping (e.g.: rcp -r /tmp/1 /tmp/2). See the cp(1) manpage for more details. Revision Changes Path 1.16 +2 -2 src/bin/rcp/rcp.c From owner-cvs-bin Mon Dec 8 13:04:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA11001 for cvs-bin-outgoing; Mon, 8 Dec 1997 13:04:46 -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 NAA10944; Mon, 8 Dec 1997 13:04:12 -0800 (PST) (envelope-from wosch@FreeBSD.org) From: Wolfram Schneider Received: (from wosch@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id NAA21174; Mon, 8 Dec 1997 13:02:38 -0800 (PST) Date: Mon, 8 Dec 1997 13:02:38 -0800 (PST) Message-Id: <199712082102.NAA21174@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/rcp rcp.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 1997/12/08 13:02:37 PST Modified files: bin/rcp rcp.c Log: Add -P option to cp(1) for local to local copying. Pointed out by: bde Revision Changes Path 1.17 +2 -2 src/bin/rcp/rcp.c From owner-cvs-bin Wed Dec 10 09:55:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA02344 for cvs-bin-outgoing; Wed, 10 Dec 1997 09:55:28 -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 JAA02261; Wed, 10 Dec 1997 09:54:45 -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 JAA10409; Wed, 10 Dec 1997 09:52:54 -0800 (PST) Date: Wed, 10 Dec 1997 09:52:54 -0800 (PST) Message-Id: <199712101752.JAA10409@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/mv mv.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk eivind 1997/12/10 09:52:54 PST Modified files: bin/mv mv.c Log: Merge from OpenBSD: > Error out if someone tries to mv a mount point. Old behavior was to > move all files contained in the mounted filesystem to the dest. dir > which could be quite nasty. Personally, I think rename(2) should > return EPERM or EINVAL instead of EXDEV. Obtained from: OpenBSD mv.c rev 1.6 by Todd Miller Revision Changes Path 1.17 +16 -2 src/bin/mv/mv.c From owner-cvs-bin Wed Dec 10 14:21:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA24789 for cvs-bin-outgoing; Wed, 10 Dec 1997 14:21:44 -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 OAA24728; Wed, 10 Dec 1997 14:20:47 -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 OAA11199; Wed, 10 Dec 1997 14:18:56 -0800 (PST) Date: Wed, 10 Dec 1997 14:18:56 -0800 (PST) Message-Id: <199712102218.OAA11199@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/csh csh.c exec.c src/bin/ed ed.h src/bin/pax ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c gen_subs.c options.c pat_rep.c pax.c sel_subs.c tables.c tar.c tty_subs.c src/bin/sh jobs.c src/bin/test test.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk eivind 1997/12/10 14:18:55 PST Modified files: bin/csh csh.c exec.c bin/ed ed.h bin/pax ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c gen_subs.c options.c pat_rep.c pax.c sel_subs.c tables.c tar.c tty_subs.c bin/sh jobs.c bin/test test.c Log: Remove simultaneous include of and . Reorder includes to be alphabetical some places since I already was in here. Revision Changes Path 1.12 +2 -3 src/bin/csh/csh.c 1.8 +1 -2 src/bin/csh/exec.c 1.11 +1 -2 src/bin/ed/ed.h 1.9 +1 -3 src/bin/pax/ar_io.c 1.9 +1 -2 src/bin/pax/ar_subs.c 1.9 +1 -4 src/bin/pax/buf_subs.c 1.9 +1 -3 src/bin/pax/cache.c 1.9 +1 -2 src/bin/pax/cpio.c 1.9 +1 -2 src/bin/pax/file_subs.c 1.9 +1 -2 src/bin/pax/ftree.c 1.10 +1 -2 src/bin/pax/gen_subs.c 1.10 +1 -3 src/bin/pax/options.c 1.11 +1 -3 src/bin/pax/pat_rep.c 1.10 +5 -6 src/bin/pax/pax.c 1.8 +1 -2 src/bin/pax/sel_subs.c 1.10 +3 -4 src/bin/pax/tables.c 1.9 +1 -2 src/bin/pax/tar.c 1.8 +1 -4 src/bin/pax/tty_subs.c 1.17 +1 -2 src/bin/sh/jobs.c 1.18 +2 -3 src/bin/test/test.c From owner-cvs-bin Wed Dec 10 16:15:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA07787 for cvs-bin-outgoing; Wed, 10 Dec 1997 16:15:17 -0800 (PST) (envelope-from owner-cvs-bin) Received: from plum.cyber.com.au (plum.cyber.com.au [203.7.155.24]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id QAA07748; Wed, 10 Dec 1997 16:14:55 -0800 (PST) (envelope-from darrenr@cyber.com.au) Received: (from darrenr@localhost) by plum.cyber.com.au (8.6.12/8.6.6) id LAA23218; Thu, 11 Dec 1997 11:14:50 +1100 From: Darren Reed Message-Id: <199712110014.LAA23218@plum.cyber.com.au> Subject: Re: cvs commit: src/bin/mv mv.c To: eivind@FreeBSD.ORG (Eivind Eklund) Date: Thu, 11 Dec 1997 11:14:50 +1100 (EST) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG In-Reply-To: <199712101752.JAA10409@freefall.freebsd.org> from "Eivind Eklund" at Dec 10, 97 09:52:54 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In some mail I received from Eivind Eklund, sie wrote > > eivind 1997/12/10 09:52:54 PST > > Modified files: > bin/mv mv.c > Log: > Merge from OpenBSD: > > Error out if someone tries to mv a mount point. Old behavior was to > > move all files contained in the mounted filesystem to the dest. dir > > which could be quite nasty. Personally, I think rename(2) should > > return EPERM or EINVAL instead of EXDEV. > > Obtained from: OpenBSD mv.c rev 1.6 by Todd Miller > > Revision Changes Path > 1.17 +16 -2 src/bin/mv/mv.c This change doesn't stop mv moving directories, in general, accross filesystems, does it ? Darren From owner-cvs-bin Wed Dec 10 16:35:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA09610 for cvs-bin-outgoing; Wed, 10 Dec 1997 16:35:25 -0800 (PST) (envelope-from owner-cvs-bin) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA09592; Wed, 10 Dec 1997 16:35:08 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id AAA26838; Thu, 11 Dec 1997 00:35:05 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id BAA24274; Thu, 11 Dec 1997 01:35:04 +0100 (MET) Message-ID: <19971211013500.59161@follo.net> Date: Thu, 11 Dec 1997 01:35:00 +0100 From: Eivind Eklund To: Darren Reed Cc: Eivind Eklund , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: Re: cvs commit: src/bin/mv mv.c References: <199712101752.JAA10409@freefall.freebsd.org> <199712110014.LAA23218@plum.cyber.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199712110014.LAA23218@plum.cyber.com.au>; from Darren Reed on Thu, Dec 11, 1997 at 11:14:50AM +1100 Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > eivind 1997/12/10 09:52:54 PST > > > > Modified files: > > bin/mv mv.c > > Log: > > Merge from OpenBSD: > > > Error out if someone tries to mv a mount point. Old behavior was to > > > move all files contained in the mounted filesystem to the dest. dir > > > which could be quite nasty. Personally, I think rename(2) should > > > return EPERM or EINVAL instead of EXDEV. > > > > Obtained from: OpenBSD mv.c rev 1.6 by Todd Miller > > > > Revision Changes Path > > 1.17 +16 -2 src/bin/mv/mv.c > > This change doesn't stop mv moving directories, in general, accross > filesystems, does it ? No. It does a statfs() and checks if the source is exactly equal to the file system mount point; if it is, it refuse with mv: cannot rename a mount point There is one other added fail-case: When the system is unable to resolve the source file through realpath(3). Eivind. From owner-cvs-bin Wed Dec 10 18:41:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA21023 for cvs-bin-outgoing; Wed, 10 Dec 1997 18:41:20 -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 SAA20983; Wed, 10 Dec 1997 18:40:52 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA13966; Wed, 10 Dec 1997 18:38:59 -0800 (PST) Date: Wed, 10 Dec 1997 18:38:59 -0800 (PST) Message-Id: <199712110238.SAA13966@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/date date.1 date.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/12/10 18:38:58 PST Modified files: bin/date date.1 date.c Log: Put [+format] at the end of the usage message. Make `date -?' output (pretty much) the same as the man page PR: 5269 Revision Changes Path 1.22 +4 -4 src/bin/date/date.1 1.22 +4 -3 src/bin/date/date.c From owner-cvs-bin Wed Dec 10 22:16:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA07163 for cvs-bin-outgoing; Wed, 10 Dec 1997 22:16:28 -0800 (PST) (envelope-from owner-cvs-bin) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA07144; Wed, 10 Dec 1997 22:16:09 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id RAA27951; Thu, 11 Dec 1997 17:08:50 +1100 Date: Thu, 11 Dec 1997 17:08:50 +1100 From: Bruce Evans Message-Id: <199712110608.RAA27951@godzilla.zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, eivind@FreeBSD.ORG Subject: Re: cvs commit: src/bin/mv mv.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified files: > bin/mv mv.c > Log: > Merge from OpenBSD: > > Error out if someone tries to mv a mount point. Old behavior was to > > move all files contained in the mounted filesystem to the dest. dir > > which could be quite nasty. Personally, I think rename(2) should > > return EPERM or EINVAL instead of EXDEV. > > Obtained from: OpenBSD mv.c rev 1.6 by Todd Miller This seems to break POSIX conformance. According to a POSIX.2 draft, mv(1) shall attempt to move the entire subtree if rename(2) returns EXDEV, and according to POSIX.1-1990, rename(2) shall return EXDEV for cross-device moves (unless certain other error conditions not related to cross-device moves occur). Moving entire subtrees is probably wrong in all cases. Subtrees may be huge, and they may contain mount points even if the root is not a mount point. Bruce From owner-cvs-bin Thu Dec 11 06:58:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA17648 for cvs-bin-outgoing; Thu, 11 Dec 1997 06:58:56 -0800 (PST) (envelope-from owner-cvs-bin) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA17504; Thu, 11 Dec 1997 06:57:25 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id OAA05494; Thu, 11 Dec 1997 14:57:10 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id PAA27230; Thu, 11 Dec 1997 15:57:09 +0100 (MET) Message-ID: <19971211155709.48532@follo.net> Date: Thu, 11 Dec 1997 15:57:09 +0100 From: Eivind Eklund To: Bruce Evans Cc: cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, eivind@FreeBSD.ORG Subject: Re: cvs commit: src/bin/mv mv.c References: <199712110608.RAA27951@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199712110608.RAA27951@godzilla.zeta.org.au>; from Bruce Evans on Thu, Dec 11, 1997 at 05:08:50PM +1100 Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Dec 11, 1997 at 05:08:50PM +1100, Bruce Evans wrote: > > Modified files: > > bin/mv mv.c > > Log: > > Merge from OpenBSD: > > > Error out if someone tries to mv a mount point. Old behavior was to > > > move all files contained in the mounted filesystem to the dest. dir > > > which could be quite nasty. Personally, I think rename(2) should > > > return EPERM or EINVAL instead of EXDEV. > > > > Obtained from: OpenBSD mv.c rev 1.6 by Todd Miller > > This seems to break POSIX conformance. According to a POSIX.2 draft, > mv(1) shall attempt to move the entire subtree if rename(2) returns > EXDEV, and according to POSIX.1-1990, rename(2) shall return EXDEV for > cross-device moves (unless certain other error conditions not related > to cross-device moves occur). Does this mean I should revert it? (Personally, I think I could have tried to move a mount-point in the belief that it belonged to the parent directory - finding later that I'd blown 2 GB of data into / would have made me `slightly irritated'. I think this is a good change. However, if we are compliant in most other cases, I'll let that pass for the chance of getting that nice little stamp ;-) > Moving entire subtrees is probably wrong in all cases. Subtrees may be > huge, and they may contain mount points even if the root is not a mount > point. ... or does this mean that the patch should be extended to make mv even more restrictive? Eivind. From owner-cvs-bin Thu Dec 11 07:22:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA19503 for cvs-bin-outgoing; Thu, 11 Dec 1997 07:22:19 -0800 (PST) (envelope-from owner-cvs-bin) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA19468; Thu, 11 Dec 1997 07:21:40 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id CAA13945; Fri, 12 Dec 1997 02:18:12 +1100 Date: Fri, 12 Dec 1997 02:18:12 +1100 From: Bruce Evans Message-Id: <199712111518.CAA13945@godzilla.zeta.org.au> To: bde@zeta.org.au, eivind@yes.no Subject: Re: cvs commit: src/bin/mv mv.c Cc: cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, eivind@FreeBSD.ORG Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> This seems to break POSIX conformance. According to a POSIX.2 draft, >> mv(1) shall attempt to move the entire subtree if rename(2) returns >> EXDEV, and according to POSIX.1-1990, rename(2) shall return EXDEV for >> cross-device moves (unless certain other error conditions not related >> to cross-device moves occur). > >Does this mean I should revert it? I'm not sure. It could be implemented better (leave the !EXDEV code alone and don't call statfs() for mv'ing regular files ...). >good change. However, if we are compliant in most other cases, I'll let >that pass for the chance of getting that nice little stamp ;-) >> Moving entire subtrees is probably wrong in all cases. Subtrees may be >> huge, and they may contain mount points even if the root is not a mount >> point. > >... or does this mean that the patch should be extended to make mv even more >restrictive? I wonder if the versions of Linux with POSIX (.1 only?) stamps changed mv to move whole trees across file systems. Gnu mv still doesn't do it in fileutils-3.16. Doing it is more of a problem in FreeBSD since we have lots of user-mountable file systems. Bruce From owner-cvs-bin Fri Dec 12 10:15:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA10819 for cvs-bin-outgoing; Fri, 12 Dec 1997 10:15:46 -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 KAA10697; Fri, 12 Dec 1997 10:13:36 -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 KAA26257; Fri, 12 Dec 1997 10:11:29 -0800 (PST) Date: Fri, 12 Dec 1997 10:11:29 -0800 (PST) Message-Id: <199712121811.KAA26257@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/stty print.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk eivind 1997/12/12 10:11:29 PST Modified files: bin/stty print.c Log: Merge from OpenBSD: >sprintf -> snprintf paranoia Obtainted from: OpenBSD src/bin/stty/print.c v1.5 by Todd Miller Revision Changes Path 1.9 +5 -3 src/bin/stty/print.c From owner-cvs-bin Fri Dec 12 10:28:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11966 for cvs-bin-outgoing; Fri, 12 Dec 1997 10:28:41 -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 KAA11695; Fri, 12 Dec 1997 10:26: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 KAA26317; Fri, 12 Dec 1997 10:24:18 -0800 (PST) Date: Fri, 12 Dec 1997 10:24:18 -0800 (PST) Message-Id: <199712121824.KAA26317@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/12 10:24:18 PST Modified files: bin/rmail rmail.c Log: Make this lint more cleanly Obtained from: OpenBSD file rev 1.4 by mickey Revision Changes Path 1.15 +6 -1 src/bin/rmail/rmail.c From owner-cvs-bin Fri Dec 12 10:42:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA13310 for cvs-bin-outgoing; Fri, 12 Dec 1997 10:42:47 -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 KAA13118; Fri, 12 Dec 1997 10:40:29 -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 KAA26363; Fri, 12 Dec 1997 10:38:22 -0800 (PST) Date: Fri, 12 Dec 1997 10:38:22 -0800 (PST) Message-Id: <199712121838.KAA26363@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/pax ar_subs.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk eivind 1997/12/12 10:38:22 PST Modified files: bin/pax ar_subs.c Log: Make code slightly more robust towards change by calculating size in-place. Obtained from: OpenBSD ar_subs.c rev 1.7 by Tood Miller