Subject: Re: CVS commit: src/usr.sbin/lpr/lpc
To: None <garbled@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 01/12/2006 23:43:01
Tim Rightnour <garbled@netbsd.org> writes:
> Module Name: src
> Committed By: garbled
> Date: Thu Jan 12 18:06:25 UTC 2006
>
> Modified Files:
> src/usr.sbin/lpr/lpc: lpc.c
>
> Log Message:
> sizeof(char) is unneccesary.
You appear to have changed the semantics.
sizeof(char) * strlen(cmdline)
and
strlen(cmdline) + 1
do not have the same value.
Perry