nano-devel
[Top][All Lists]
Advanced

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

address@hidden: Re: [Nano-devel] Silly precompiler error.]


From: David Benbennick
Subject: address@hidden: Re: [Nano-devel] Silly precompiler error.]
Date: Tue, 4 Feb 2003 17:16:25 -0500
User-agent: Mutt/1.2.5.1i

Okay, this didn't go through the first time.

----- Forwarded message from David Benbennick <address@hidden> -----

Date: Tue, 4 Feb 2003 12:34:23 -0500
From: David Benbennick <address@hidden>
To: Chris Allegretta <address@hidden>, address@hidden
Subject: Re: [Nano-devel] Silly precompiler error.

Whoops, Nano doesn't compile with ENABLE_RCFILE and DISABLE_TABCOMP. 
Here's a patch to fix it.

diff -u nano/nano.c nano-silly/nano.c
--- nano/nano.c Mon Feb  3 02:18:38 2003
+++ nano-silly/nano.c   Tue Feb  4 12:31:36 2003
@@ -3287,9 +3287,15 @@
        int tabsize_cpy = tabsize;
        long flags_cpy = flags;
 
+#ifndef DISABLE_OPERATINGDIR
        operating_dir = NULL;
+#endif
+#ifndef DISABLE_JUSTIFY
        quotestr = NULL;
+#endif
+#ifndef DISABLE_SPELLER
        alt_speller = NULL;
+#endif
 
        do_rcfile();
 




----- End forwarded message -----

Attachment: pgpcZ_TGybYia.pgp
Description: PGP signature


reply via email to

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