Subject: Re: rm(1) and cp(1) printable characters diff
To: None <>
From: Charles Blundell <>
List: tech-userlevel
Date: 07/22/2003 10:58:54
on Mon, Jul 21, 2003 at 11:03:15PM -0400, Jan Schaumann wrote:
> Fair 'nuff.  So hopefully this is the last round, then: [attached].

This looks good. :)

> +	len = strlen(src);
> +	if (len != 0 && SIZE_T_MAX/len <= 4)
> +		errx(EXIT_FAILURE, "Name too long: %s\n", src);

You may want to change the order of this error to be the same as
with other errors, e.g. "%s: name too long" so that the error
occurs after the long name so that it may be seen.