Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/lpr/lpc



Tim Rightnour <garbled%netbsd.org@localhost> 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



Home | Main Index | Thread Index | Old Index