[nas] [patch] convert more K&R code to ANSI C

Erik Auerswald auerswal at unix-ag.uni-kl.de
Wed Jul 12 23:37:25 MDT 2006


Hi,

On Wed, Jul 12, 2006 at 11:31:55PM -0600, Jon Trulson wrote:
> On Thu, 13 Jul 2006, Erik Auerswald wrote:
> >On Wed, Jul 12, 2006 at 10:43:33PM -0600, Jon Trulson wrote:
> >>On Wed, 12 Jul 2006, Stefan Huehner wrote:
> >>>attached patch converts some of the client programs to ANSI C.
> >>>
> >>
> >>        Try as I might, I was unable to convince 'patch' to deal with
> >>        this patch... I did not see anything obviously wrong.  I had
> >>        no problem with your earlier patches.  I noticed it was not
> >>        rooted in nas-*/, unlike your other patches (which I prefer).
> >>
> >>        What magic is required to apply this?  It didn't matter what
> >>        directory
> >>        this was run in (clients/audio, whatever)...
> >
> >I'd say you have to apply it in the nas-1.8/clients/audio directory with
> >patch -p0 as there is no leading directory to strip. But I did not test
> >this.
> 
>         -p0.. huh.  Never had to do that one before...

This is quite common for svn generated patches (Stefan's patch looked
like one of these).

>          The patch does
>          not apply cleanly though (this was a --dry-run so nothing
>          actually done):

I'm sure Stefan will take care of this. :-)

Erik



More information about the Nas mailing list