lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev lynx2.8.2dev.21.patch.gz


From: Leonid Pauzner
Subject: Re: lynx-dev lynx2.8.2dev.21.patch.gz
Date: Thu, 1 Apr 1999 16:57:59 +0400 (MSD)

31-Mar-99 11:15 Kim DeVaughn wrote:
> On Wed, Mar 31, 1999, Leonid Pauzner (address@hidden) said:
> |
| >> * assign LYNXCFG:/ and LYNXCOMPILEOPTS:/ for internal pages of
| >>   parsed lynx.cfgand compile-time info.  Now we will not see a
| >>   temp file link name in a statusline in advanced mode, also kill
| >>   overhead since pages created only when really accessed - LP
> |
> | LYNXCOMPILEOPTS:/ link from '=' page is not accessible

> Since the CHANGES note has your initials (LP) by it, does that mean
> you're fixing it again (presuming that there was a patch-integration
> problem)?

> BTW, the "compile time options" link doesn't work for me either (on
> FreeBSD), so it doesn't seem like the problem is a platform-dependent
> thingy.

> /kim

That seems to me HAVE_CFG_DEFS_H is not defined in LYGetFile.c
>From LYShowInfo.c:

#if defined(HAVE_CONFIG_H) && !defined(NO_CONFIG_INFO)
#define HAVE_CFG_DEFS_H

#define PutDefs(table, N) fprintf(fp0, "%-35s %s\n", table[N].name, 
table[N].value)

/*
 *  Compile-time definitions info, returns local url
 */
PUBLIC char *lynx_compile_opts NOARGS
{
...


So the simplest solution should be:

diff -u old/lygetfil.c ./lygetfil.c
--- old/lygetfil.c      Wed Mar 31 15:48:14 1999
+++ ./lygetfil.c        Thu Apr  1 16:51:02 1999
@@ -263,7 +263,7 @@
                         return(NOT_FOUND);
                    return(NORMAL);

-#ifdef HAVE_CFG_DEFS_H
+#if defined(HAVE_CONFIG_H) && !defined(NO_CONFIG_INFO)
                } else if (url_type == LYNXCOMPILE_OPTS_URL_TYPE) {
                    /* show compile-time settings */
                    StrAllocCopy(doc->address, (char *)lynx_compile_opts());




reply via email to

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