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

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


Hi,

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)...
> 
> Output was (patch --dry-run):
> $ patch --dry-run -p1 <StefanHuehner_nas_old_style2.diff
> 
> can't find file to patch at input line 5
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: auinfo/auinfo.c

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.

Erik



More information about the Nas mailing list