nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Re: Fwd: Error compiling 1.3.12 on Tru64


From: David Lawrence Ramsey
Subject: Re: [Nano-devel] Re: Fwd: Error compiling 1.3.12 on Tru64
Date: Tue, 18 Jul 2006 21:31:37 -0400
User-agent: Thunderbird 1.5.0.4 (X11/20060516)

David Lawrence Ramsey wrote:
> Daniel Richard G. wrote:
>
> <snip>
>
> > It fixes the compilation, save for one other minor issue that I forgot
> > about (non-Tru64-specific). See the attached patch :)

...which I've also attached here in case anyone else needs it.

diff -ru nano-1.3.12/src/rcfile.c nano-1.3.12-fix2/src/rcfile.c
--- nano-1.3.12/src/rcfile.c    2006-06-07 22:50:56.000000000 -0400
+++ nano-1.3.12-fix2/src/rcfile.c       2006-07-18 19:22:30.000000000 -0400
@@ -834,9 +834,11 @@
            rcfile_error(N_("Unknown flag \"%s\""), option);
     }
 
+#ifdef ENABLE_COLOR
     if (endsyntax != NULL && endcolor == NULL)
        rcfile_error(N_("Syntax \"%s\" has no color commands"),
                endsyntax->desc);
+#endif
 
     free(buf);
     fclose(rcstream);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]