Date: Mon, 27 Apr 1998 08:20:03 -0700 (PDT) From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) To: freebsd-bugs Subject: Re: bin/1945: Out of date code/comments in dd Message-ID: <199804271520.IAA02307@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <machine/limits.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804271520.IAA02307>