[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV DIRED source showinfo bug & fix
From: |
Klaus Weide |
Subject: |
LYNX-DEV DIRED source showinfo bug & fix |
Date: |
Wed, 23 Oct 1996 07:09:48 -0500 |
Here is a reproducible memory violation bug which has been around since
at least 2.5:
1) view a directory, _with DIRED_SUPPORT enabled_
2) press '\' (SOURCE key)
3) press '=' (INFO key)
4) ... "Do NOT mail the core file if one was generated." ...
Here is a quick fix:
*** lynx2-6/src/LYShowInfo.c.orig Sun Sep 1 20:26:08 1996
--- lynx2-6/src/LYShowInfo.c Wed Oct 23 05:43:37 1996
***************
*** 97,103 ****
fprintf(fp0,"<h2>%s Version %s</h2>\n", LYNX_NAME, LYNX_VERSION);
#ifdef DIRED_SUPPORT
! if (lynx_edit_mode) {
fprintf(fp0,
"<h2>Directory that you are currently viewing</h2>\n<pre>");
--- 97,103 ----
fprintf(fp0,"<h2>%s Version %s</h2>\n", LYNX_NAME, LYNX_VERSION);
#ifdef DIRED_SUPPORT
! if (lynx_edit_mode && nlinks > 0) {
fprintf(fp0,
"<h2>Directory that you are currently viewing</h2>\n<pre>");
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LYNX-DEV DIRED source showinfo bug & fix,
Klaus Weide <=