[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Bug fixes for ac-0.105
From: |
Doug Kaufman |
Subject: |
LYNX-DEV Bug fixes for ac-0.105 |
Date: |
Sun, 4 Jan 1998 09:46:02 -0800 (PST) |
There was a change in the userdefs.h mail logic between 0.104 and 0.105.
For those not using autoconfiguration, this leads to a redefinition of
SYSTEM_MAIL_FLAGS within userdefs.h. The flags "-t -oi" seem to be the
correct default, at least on SUNOS_4.1.3_U1. I think that the following
patch gives the intended default values.
Back in November 1997, Hasan Karahasan reported that the -traversal
-crawl didn't work under systems with 8+3 filenames, because of file
overwriting.
"http://www.flora.org/lynx-dev/html/month1197/msg00407.html"
"http://www.flora.org/lynx-dev/html/month1197/msg00512.html"
This patch should fix it. If more than 100,000 filenames are needed, the
first 3 letters ("lnk"), could be removed and the number of digits in
the filename increased.
*** lynx2-7-1/userdefs.h Fri Jan 2 10:12:24 1998
--- lynx2-7-1/userdefs.h.new Sun Jan 4 09:08:50 1998
***************
*** 336,348 ****
#else
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__)
#define SYSTEM_MAIL "/usr/sbin/sendmail"
- #define SYSTEM_MAIL_FLAGS "-t -oi"
#else /* everything else: */
#define SYSTEM_MAIL "/usr/lib/sendmail"
- #define SYSTEM_MAIL_FLAGS "-t -oi"
#endif /* __FreeBSD || __NetBSD__ || __bsdi__ */
#endif /* MMDF */
- #define SYSTEM_MAIL_FLAGS ""
#endif /* !HAVE_CONFIG_H */
/**************************
--- 336,346 ----
#else
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__)
#define SYSTEM_MAIL "/usr/sbin/sendmail"
#else /* everything else: */
#define SYSTEM_MAIL "/usr/lib/sendmail"
#endif /* __FreeBSD || __NetBSD__ || __bsdi__ */
+ #define SYSTEM_MAIL_FLAGS "-t -oi"
#endif /* MMDF */
#endif /* !HAVE_CONFIG_H */
/**************************
*** lynx2-7-1/LYMainLoop.c Fri Jan 2 10:12:24 1998
--- lynx2-7-1/LYMainLoop.c.new Sun Jan 4 09:16:30 1998
***************
*** 1448,1454 ****
--- 1448,1458 ----
*/
if (crawl && crawl_ok) {
crawl_ok = FALSE;
+ #ifdef FNAMES_8_3
+ sprintf(cfile,"lnk%05d.dat",ccount);
+ #else
sprintf(cfile,"lnk%08d.dat",ccount);
+ #endif /* FNAMES_8_3 */
ccount = ccount + 1;
if ((cfp = LYNewTxtFile(cfile)) != NULL) {
print_crawl_to_fd(cfp,curdoc.address,curdoc.title);
__
Doug Kaufman
Internet: address@hidden (preferred)
address@hidden
- LYNX-DEV Bug fixes for ac-0.105,
Doug Kaufman <=