From owner-freebsd-bugs Mon Apr 27 08:20:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA02347 for freebsd-bugs-outgoing; Mon, 27 Apr 1998 08:20:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA02307; Mon, 27 Apr 1998 08:20:03 -0700 (PDT) (envelope-from gnats) Date: Mon, 27 Apr 1998 08:20:03 -0700 (PDT) Message-Id: <199804271520.IAA02307@hub.freebsd.org> To: freebsd-bugs Cc: From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Subject: Re: bin/1945: Out of date code/comments in dd Reply-To: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/1945; it has been noted by GNATS. From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) To: freebsd-gnats-submit@freebsd.org, gpalmer@freebsd.org Cc: Subject: Re: bin/1945: Out of date code/comments in dd Date: 27 Apr 1998 17:14:28 +0200 One problem is that the code in dd/args.c checks arguments against INT_MAX, and you can't fix it without introducing a dependency on the definition of off_t which might be invalid on e.g. Alpha or Sparc boxen. I suggest that somebody adds OFF_T_MAX to and fix dd to check arguments against OFF_T_MAX instead of INT_MAX. -- Noone else has a .sig like this one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message