Commit 563c9624 authored by Axel Beckert's avatar Axel Beckert

Imported Upstream version 2.8.7dev2

parent 97f6ec86
Changes since Lynx 2.8 release
===============================================================================
2006-11-06 (2.8.7dev.2)
* ensure that the configured values for PERSONAL_EXTENSION_MAP and
PERSONAL_MAILCAP are absolute pathnames -TD
* modify logic for reading PERSONAL_EXTENSION_MAP and PERSONAL_MAILCAP to
ensure that they are files that are controlled only by the user. The
default values for these allow lynx to read configuration information
from the user's current directory at lynx's startup (Debian #396949) -TD
* use CF_NCURSES_CONFIG to simplify linking against rpath'd library -TD
* fix CF_LARGEFILE so --disable-largefile works (from ncurses) -TD
2006-10-12 (2.8.7dev.1)
* update embedded version numbers for starting 2.8.7 development -TD
* setup locale before writing version-message -TD
......@@ -226,7 +236,7 @@ Changes since Lynx 2.8 release
* remove redundant size-check in change for HText_trimHightext() in 2.8.5dev.8
to fix highlighting for this case:
<a href>Line 1<p>Line 2<p>Line 3</a>
(report by Andrew Belov).
(report by Andrew Belov) -TD
* add U+213B FAX to def7_uni.tbl (Debian #344275) -TD
* adjust anchor extent to discount trailing blank which is trimmed when
rendering. If the blank is not trimmed, link highlighting in color-style
......@@ -511,7 +521,7 @@ Changes since Lynx 2.8 release
* improve logic for highlighting links which extend to multiple lines by
ensuring that if they cover a blank line that the following lines of the
link will be highlighted rather than the blank line (report by Hataguchi
Takeshi).
Takeshi) -TD
* replace most instances of exit() by exit_immediately(), except those needed
for the leak-checking code, to add an ifdef'd call to _nc_freeall() which
simplifies testing with valgrind -TD
......@@ -1469,7 +1479,7 @@ FreeBSD 4.1, 4.8, NetBSD 1.5, 1.6 and OpenBSD 2.8 (curses/ncurses).
it (reported by Michel SUCH and Karl-Heinz Weirich <weirich@de.ibm.com>) -TD
* strip parameters from refresh-URL -TD
* correct misspelled $LYNX_LOCALEDIR variable in LYMain.c (reported by Michel
Such)
Such) -TD
* change the install procedure for lynx.cfg to attempt to update the file with
the user's customizations if any, and to save the old configuration
information in a series, e.g., lynx.cfg-1, lynx.cfg-2, etc. -TD
......@@ -2015,8 +2025,7 @@ FreeBSD 4.1, 4.8, NetBSD 1.5, 1.6 and OpenBSD 2.8 (curses/ncurses).
2001-07-17 (2.8.4rel.1)
* remove comment in README.ssl directing people to
http://www.moxienet.com/lynx/, since that page is moot with 2.8.4 (report by
DK)
http://www.moxienet.com/lynx/, since that page is moot with 2.8.4 -DK
* add an ifdef in CF_CURSES_FUNCS configure macro to avoid confusing ncurses'
term.h with other versions -TD
* update URL for zlib -Frederic L W Meunier
......@@ -2096,9 +2105,9 @@ FreeBSD 4.1, 4.8, NetBSD 1.5, 1.6 and OpenBSD 2.8 (curses/ncurses).
scan_cookie_sublist() function, broken in dev.21 changes (report by Ken Scott
<admin@shellworld.net>) -TD
* add a fallback definition for SA_LEN(), to build with glibc 2.2 (report by
Mark Sutton <mes@lazo.ca>,
from http://cvs.pld.org.pl/SOURCES/lynx-SA_LEN.patch?rev=1.1,
patch by Arkadiusz Miskiewicz).
Mark Sutton <mes@lazo.ca>, from
http://cvs.pld.org.pl/SOURCES/lynx-SA_LEN.patch?rev=1.1) -Arkadiusz
Miskiewicz
* modify ifdef in HTCheckForInterrupt() to build with DJGPP -DK
* remove include for <pdcurses.h>, use <curses.h> which is the default for
PDCurses - DK
......@@ -2397,7 +2406,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
* fix a few warnings from antic (unreached statements due to quirks of ifdef's,
incorrectly-indented code) -TD
* eliminate a few references to USE_HASH and LINKEDSTYLES in documentation -TD
* fix a couple of compiler warnings for SCO (report by BL)
* fix a couple of compiler warnings for SCO -BL
* fix a comparison in HTChunkPutUtf8Char() to work with EBCDIC -PG
* fix a typo in LYCharUtils.c CTRACE macro, amend tracing to avoid suppressing
a related user message -PG
......@@ -2609,8 +2618,8 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
<martin@dc.cis.okstate.edu>, IZ) -TD
2001-01-01 (2.8.4dev.16)
* add ja.po message file (overlooked in dev.15, reported by Atsuhito Kohda
<kohda@nsx.pm.tokushima-u.ac.jp>)
* add ja.po message file (overlooked in dev.15) -Atsuhito Kohda
<kohda@nsx.pm.tokushima-u.ac.jp>
* use C preprocessor at build-time to replace CF_EBCDIC configure macro -PG
* integrated SSL patch from http://www.moxienet.com/lynx/ as a configure
option, --with-ssl -TD
......@@ -3056,7 +3065,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
and LYVersionStatus() in LYShowInfo.c -TD
* remove symbol LYNX_RELEASE_DATE, use same format for both development and
release dates -LP
* remove po/ChangeLog (noted by LP)
* remove po/ChangeLog -LP
2000-04-22 (2.8.3pre.8)
* update option_help.html to describe the Visited Pages settings -TD
......@@ -3623,7 +3632,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
currently not done) -KW
* HTErrorStream(), similar to W3C libwww, used in some cases for the above -KW
* remove check in HTParse() dated 98/09/08 which prevented unescaping of 8-bit
data (reported by KW)
data (reported by KW) -TD
* refresh screen for TRST changes in partial display mode as early as possible.
This fixes a problem when the table finished below the screen bottom -LP
* remove global Newline_partial, use LYGetNewline() instead -LP
......@@ -6619,9 +6628,9 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
* modify print_help_and_exit() to print values for the simple options, i.e.,
toggle, integer and string, as part of "lynx -help" (request by
mattack@area.com) - TD
* correct sense shown for Old_DTD variable in LYOptions.c (reported by DK).
* correct sense shown for Old_DTD variable in LYOptions.c (reported by DK) -TD
* correct order of params for non-Unix use of HTAddParam in LYBookmark.c
(reported by DK)
(reported by DK) -TD
1998-12-31
* delete unused 'PREVAIL' color-style code from HTML.c, merge a couple of
......@@ -6673,7 +6682,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
combination, strip trailing blanks from makefile.sla, change optimization
level to -O2) - DK
* rename New_DTD variable to Old_DTD, change logic for -tagsoup option to be
consistent with sense in lynx.cfg (reported by LP)
consistent with sense in lynx.cfg (reported by LP) -TD
1998-12-26 (2.8.2dev.12)
* use HTSprintf0 in LYCgi.c - TD
......@@ -6685,7 +6694,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
so they allocate space for the result rather than using a static buffer - TD
* modify LYEdit.c to use HTAddParam - TD
* make HREF/NAME for "Environment" consistent in Lynx_users_guide.html
(reported by LP)
(reported by LP) -TD
* correct DOS/EMX logic in LYEdit.c which incremented 'filename' pointer when
its length was greater than 1 rather than recopying the string, causing a
core dump when 'filename' was freed (reported by LP, this applies to
......@@ -7205,7 +7214,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
to use it in FD_CLR (patch by Karl-Andre Skevik <karls@kosmo.inet.no>)
* minor documentation fixes - DK
* use $(LIBS) symbol in src/chrtrans/makefile.in (reported by Alois Maier
<m9235159@grz08u.unileoben.ac.at>)
<m9235159@grz08u.unileoben.ac.at>) -TD
* Fix core dump which may happen after printing-to-email - LP
* Move read_rc() before parsing any command-line arguments (except -help)
so the latter will override any .lynxrc settings. In particular, the problem
......@@ -7542,7 +7551,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
does.
* change default for NO_ANONYMOUS_EMAIL to TRUE (patch by HN)
* use url for "W3C HTML Validation Service" rather than "A Kinder, Gentler HTML
Validator"
Validator" -TD
* update url for HTML Quick Reference Guide (report by LE) - TD
* modify verbose images to show ISMAPs and USEMAPs (patch by LE).
* fix typos in AttrList.h, LYStrings.h (reported by LV & HN) - TD
......@@ -7671,7 +7680,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
read comments inside the functions if change something! - LP
* add new functions BeginInternalPage and EndInternalPage to reduce clutter in
code that sets up internal pages (email from LP).
* change version in makefile.in to 2-8-1 (reported by DK).
* change version in makefile.in to 2-8-1 -DK
* the code in GridText that adds control characters to the current line
does not test for buffer overflow. Normally Lynx gets away with this because
it will wrap the current line as soon as the line exceeds the display width,
......@@ -7912,7 +7921,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
(Reported by Bela Lubkin, Mon, 27 Jul 1998 16:51:14 -0700 on the mailing
list.) Bela's modification to make some character arrays static is also
included -TD
* nits/spelling in LYPrint.c, LYUtils.c (reported by Mike Castle).
* nits/spelling in LYPrint.c, LYUtils.c (reported by Mike Castle) -TD
* changed LYGetFile.c to build lynx2.8.1dev.18 with SLANG and the
DJGPP_KEYHANDLER for DOS - DK
* fix a couple of places where the return-value of calloc was not checked
......@@ -8207,7 +8216,7 @@ recently, FreeBSD 4.1, NetBSD 1.5 and OpenBSD 2.8 (curses/ncurses).
1998-03-18 (2.8.1dev.1)
* correct an ifdef that caused inconsistent pathname separators on Windows
(reported by afn, patch by DK).
(reported by afn) -DK
* correct a missing AC_MSG_RESULT in configure.in (also MM) - TD
* guard against illegal (e.g., zero) value for DEFAULT_CACHE_SIZE, when it is
read from lynx.cfg (reported by Martin Mokrejs
......
......@@ -4,7 +4,7 @@ dnl and Jim Spath <jspath@mail.bcpl.lib.md.us>
dnl and Philippe De Muyter <phdm@macqel.be>
dnl
dnl Created: 1997/1/28
dnl Updated: 2006/9/2
dnl Updated: 2006/10/29
dnl
dnl The autoconf used in Lynx development is GNU autoconf 2.13 or 2.52, patched
dnl by Thomas Dickey. See your local GNU archives, and this URL:
......@@ -890,7 +890,7 @@ if test "$cf_cv_bool_defs" = no ; then
fi
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_BUILD_CC version: 5 updated: 2005/09/24 17:55:52
dnl CF_BUILD_CC version: 6 updated: 2006/10/14 15:23:15
dnl -----------
dnl If we're cross-compiling, allow the user to override the tools and their
dnl options. The configure script is oriented toward identifying the host
......@@ -922,7 +922,7 @@ if test "$cross_compiling" = yes ; then
AC_ARG_WITH(build-cpp,
[ --with-build-cpp=XXX the build C preprocessor ($BUILD_CPP)],
[BUILD_CPP="$withval"],
[BUILD_CPP='$(BUILD_CC) -E'])
[BUILD_CPP='${BUILD_CC} -E'])
AC_MSG_RESULT($BUILD_CPP)
AC_MSG_CHECKING(for native build C flags)
......@@ -945,7 +945,7 @@ if test "$cross_compiling" = yes ; then
AC_MSG_CHECKING(for native build linker-libraries)
AC_ARG_WITH(build-libs,
[ --with-build-libs=XXX the build libraries ($(BUILD_LIBS)],
[ --with-build-libs=XXX the build libraries (${BUILD_LIBS})],
[BUILD_LIBS="$withval"])
AC_MSG_RESULT($BUILD_LIBS)
......@@ -953,20 +953,20 @@ if test "$cross_compiling" = yes ; then
BUILD_EXEEXT=
BUILD_OBJEXT=o
: ${BUILD_CC:='$(CC)'}
: ${BUILD_CC:='${CC}'}
if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '$(CC)' ) ; then
if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then
AC_MSG_ERROR([Cross-build requires two compilers.
Use --with-build-cc to specify the native compiler.])
fi
else
: ${BUILD_CC:='$(CC)'}
: ${BUILD_CPP:='$(CPP)'}
: ${BUILD_CFLAGS:='$(CFLAGS)'}
: ${BUILD_CPPFLAGS:='$(CPPFLAGS)'}
: ${BUILD_LDFLAGS:='$(LDFLAGS)'}
: ${BUILD_LIBS:='$(LIBS)'}
: ${BUILD_CC:='${CC}'}
: ${BUILD_CPP:='${CPP}'}
: ${BUILD_CFLAGS:='${CFLAGS}'}
: ${BUILD_CPPFLAGS:='${CPPFLAGS}'}
: ${BUILD_LDFLAGS:='${LDFLAGS}'}
: ${BUILD_LIBS:='${LIBS}'}
: ${BUILD_EXEEXT:='$x'}
: ${BUILD_OBJEXT:='o'}
fi
......@@ -1342,6 +1342,18 @@ if test $cf_cv_color_curses = yes ; then
fi
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_CURSES_CONFIG version: 2 updated: 2006/10/29 11:06:27
dnl ----------------
dnl Tie together the configure-script macros for curses. It may be ncurses,
dnl but unless asked, we do not make a special search for ncurses. However,
dnl still check for the ncurses version number, for use in other macros.
AC_DEFUN([CF_CURSES_CONFIG],
[
CF_CURSES_CPPFLAGS
CF_NCURSES_VERSION
CF_CURSES_LIBS
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_CURSES_CPPFLAGS version: 9 updated: 2006/02/04 19:44:43
dnl ------------------
dnl Look for the curses headers.
......@@ -2701,13 +2713,14 @@ cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
fi
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_LARGEFILE version: 5 updated: 2005/07/17 11:03:36
dnl CF_LARGEFILE version: 6 updated: 2006/09/23 19:07:52
dnl ------------
dnl Add checks for large file support.
AC_DEFUN([CF_LARGEFILE],[
ifdef([AC_FUNC_FSEEKO],[
AC_SYS_LARGEFILE
if test "$enable_largefile" != no ; then
AC_FUNC_FSEEKO
AC_SYS_LARGEFILE
# Normally we would collect these definitions in the config.h,
# but (like _XOPEN_SOURCE), some environments rely on having these
......@@ -2734,6 +2747,7 @@ ifdef([AC_FUNC_FSEEKO],[
[cf_cv_struct_dirent64=no])
])
test "$cf_cv_struct_dirent64" = yes && AC_DEFINE(HAVE_STRUCT_DIRENT64)
fi
])
])
dnl ---------------------------------------------------------------------------
......@@ -2857,6 +2871,45 @@ printf("old\n");
,[$1=no])
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_NCURSES_CONFIG version: 4 updated: 2006/10/28 14:36:12
dnl -----------------
dnl Tie together the configure-script macros for ncurses.
dnl Prefer the "-config" script from ncurses 5.6, to simplify analysis.
dnl Allow that to be overridden using the $NCURSES_CONFIG environment variable.
dnl
dnl $1 is the root library name (default: "ncurses")
AC_DEFUN([CF_NCURSES_CONFIG],
[
cf_ncuconfig_root=ifelse($1,,ncurses,$1)
echo "Looking for ${cf_ncuconfig_root}-config"
AC_PATH_PROGS(NCURSES_CONFIG,${cf_ncuconfig_root}6-config ${cf_ncuconfig_root}5-config,none)
if test "$NCURSES_CONFIG" != none ; then
cf_cv_ncurses_header=curses.h
CPPFLAGS="`$NCURSES_CONFIG --cflags` $CPPFLAGS"
LIBS="`$NCURSES_CONFIG --libs` $LIBS"
dnl like CF_NCURSES_CPPFLAGS
AC_DEFINE(NCURSES)
dnl like CF_NCURSES_LIBS
CF_UPPER(cf_nculib_ROOT,HAVE_LIB$cf_ncuconfig_root)
AC_DEFINE_UNQUOTED($cf_nculib_ROOT)
dnl like CF_NCURSES_VERSION
cf_cv_ncurses_version=`$NCURSES_CONFIG --version`
else
CF_NCURSES_CPPFLAGS(ifelse($1,,ncurses,$1))
CF_NCURSES_LIBS(ifelse($1,,ncurses,$1))
fi
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_NCURSES_CPPFLAGS version: 18 updated: 2005/12/31 13:26:39
dnl -------------------
dnl Look for the SVr4 curses clone 'ncurses' in the standard places, adjusting
......@@ -4300,9 +4353,11 @@ AC_SUBST(TAR_FILE_OPTIONS)
AC_SUBST(TAR_PIPE_OPTIONS)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_TERMCAP_LIBS version: 10 updated: 2001/10/18 20:42:39
dnl CF_TERMCAP_LIBS version: 11 updated: 2006/10/28 15:15:38
dnl ---------------
dnl Look for termcap libraries, or the equivalent in terminfo.
dnl
dnl The optional parameter may be "ncurses", "ncursesw".
AC_DEFUN([CF_TERMCAP_LIBS],
[
AC_CACHE_VAL(cf_cv_termlib,[
......@@ -4316,8 +4371,7 @@ AC_TRY_LINK([],[char *x=(char*)tgoto("",0,0)],
ifelse([$1],,,[
case "$1" in # (vi
ncurses*)
CF_NCURSES_CPPFLAGS($1)
CF_NCURSES_LIBS($1)
CF_NCURSES_CONFIG($1)
cf_cv_termlib=terminfo
;;
esac
......
This diff is collapsed.
......@@ -25,7 +25,7 @@ dnl ---------------------------------------------------------------------------
dnl
dnl ask PRCS to plug-in the project-version for the configure-script.
dnl $Format: "AC_REVISION($ProjectVersion$)"$
AC_REVISION(2.8.7dev.1)
AC_REVISION(2.8.7dev.2)
# Save the original $CFLAGS so we can distinguish whether the user set those
# in the environment, or whether autoconf added -O and -g options:
......@@ -57,7 +57,7 @@ AC_ARG_WITH(system-type,
PACKAGE=lynx
dnl ask PRCS to plug-in the project-version for the packages.
# $Format: "VERSION=$ProjectVersion$"$
VERSION=2.8.7dev.1
VERSION=2.8.7dev.2
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_SUBST(DESTDIR)
......@@ -459,22 +459,16 @@ cf_wide_curses=no
dft_color_style=yes
case $cf_cv_screen in
curses)
CF_CURSES_CPPFLAGS
CF_NCURSES_VERSION
CF_CURSES_LIBS
CF_CURSES_CONFIG
CF_CURS_PERFORMANCE
CF_CURS_TOUCHLINE
;;
ncurses)
CF_NCURSES_CPPFLAGS
CF_NCURSES_LIBS
CF_NCURSES_VERSION
CF_NCURSES_CONFIG
;;
ncursesw)
CF_UTF8_LIB
CF_NCURSES_CPPFLAGS(ncursesw)
CF_NCURSES_LIBS(ncursesw)
CF_NCURSES_VERSION
CF_NCURSES_CONFIG(ncursesw)
cf_wide_curses=yes
;;
pdcurses)
......
......@@ -3,10 +3,10 @@
# or Lynx_Dir:lynx.cfg (VMS)
#
# $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
#PRCS LYNX_VERSION "2.8.7dev.1"
#PRCS LYNX_VERSION "2.8.7dev.2"
#
# $Format: "#PRCS LYNX_DATE \"$ProjectDate$\""$
#PRCS LYNX_DATE "Thu, 12 Oct 2006 17:15:18 -0700"
#PRCS LYNX_DATE "Mon, 06 Nov 2006 17:14:13 -0800"
#
# Definition pairs are of the form VARIABLE:DEFINITION
# NO spaces are allowed between the pair items.
......
......@@ -153,15 +153,16 @@ void HTFormatInit(void)
SET_INTERNL("text/html", "www/present", HTMLPresent, 1.0);
SET_INTERNL("text/xml", "www/present", HTMLPresent, 2.0);
/*
* These should override the default types as necessary.
*/
HTLoadTypesConfigFile(global_type_map, mediaSYS);
if (LYisAbsPath(global_type_map)) {
/* These should override the default types as necessary. */
HTLoadTypesConfigFile(global_type_map, mediaSYS);
}
/*
* Load the local maps.
*/
if (LYCanReadFile(personal_type_map)) {
if (IsOurFile(personal_type_map)
&& LYCanReadFile(personal_type_map)) {
/* These should override everything else. */
HTLoadTypesConfigFile(personal_type_map, mediaUSR);
} else {
......@@ -1332,17 +1333,22 @@ void HTFileInit(void)
SET_SUFFIX1(".html", "text/html", "8bit");
#endif /* BUILTIN_SUFFIX_MAPS */
/* These should override the default extensions as necessary. */
HTLoadExtensionsConfigFile(global_extension_map);
if (LYisAbsPath(global_extension_map)) {
/* These should override the default extensions as necessary. */
HTLoadExtensionsConfigFile(global_extension_map);
}
if (LYCanReadFile(personal_extension_map)) {
/*
* Load the local maps.
*/
if (IsOurFile(personal_extension_map)
&& LYCanReadFile(personal_extension_map)) {
/* These should override everything else. */
HTLoadExtensionsConfigFile(personal_extension_map);
} else {
char buffer[LY_MAXPATH];
LYAddPathToHome(buffer, sizeof(buffer), personal_extension_map);
/* These should override everything else. */
HTLoadExtensionsConfigFile(buffer);
}
}
......
......@@ -5789,28 +5789,20 @@ int remove(char *name)
}
#endif
/*
* Default, for single-user systems such as Cygwin and OS/2 EMX:
*/
#define IsOurFile(name) TRUE
#define OpenHiddenFile(name, mode) fopen(name, mode)
#if defined(MULTI_USER_UNIX)
#undef IsOurFile
#undef OpenHiddenFile
/*
* Verify if this is really a file, not accessed by a link, except for the
* special case of its directory being pointed to by a link from a directory
* owned by root and not writable by other users.
*/
static BOOL IsOurFile(const char *name)
BOOL IsOurFile(const char *name)
{
BOOL result = FALSE;
struct stat data;
if (lstat(name, &data) == 0
&& S_ISREG(data.st_mode)
&& (data.st_mode & (S_IWOTH | S_IWGRP)) == 0
&& data.st_nlink == 1
&& data.st_uid == getuid()) {
int linked = FALSE;
......@@ -5860,9 +5852,10 @@ static BOOL IsOurFile(const char *name)
} while (leaf != path);
FREE(path);
#endif
return !linked;
result = !linked;
}
return FALSE;
CTRACE2(TRACE_CFG, (tfp, "IsOurFile(%s) %d\n", name, result));
return result;
}
/*
......@@ -5922,6 +5915,8 @@ static FILE *OpenHiddenFile(const char *name, const char *mode)
}
return fp;
}
#else
#define OpenHiddenFile(name, mode) fopen(name, mode)
#endif /* MULTI_USER_UNIX */
FILE *LYNewBinFile(const char *name)
......
......@@ -196,6 +196,12 @@ extern "C" {
extern void statusline(const char *text);
extern void toggle_novice_line(void);
#if defined(MULTI_USER_UNIX)
extern BOOL IsOurFile(const char *name);
#else
#define IsOurFile(name) TRUE
#endif
#ifdef EXP_ASCII_CTYPES
extern int ascii_tolower(int i);
extern int ascii_toupper(int i);
......
......@@ -1360,11 +1360,11 @@
* the version definition with the Project Version on checkout. Just
* ignore it. - kw */
/* $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ */
#define LYNX_VERSION "2.8.7dev.1"
#define LYNX_VERSION "2.8.7dev.2"
#define LYNX_WWW_HOME "http://lynx.isc.org/"
#define LYNX_WWW_DIST "http://lynx.isc.org/current/"
/* $Format: "#define LYNX_DATE \"$ProjectDate$\""$ */
#define LYNX_DATE "Thu, 12 Oct 2006 17:15:18 -0700"
#define LYNX_DATE "Mon, 06 Nov 2006 17:14:13 -0800"
#define LYNX_DATE_OFF 5 /* truncate the automatically-generated date */
#define LYNX_DATE_LEN 11 /* truncate the automatically-generated date */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment