[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev pre8: temp files not removed with --enable-gzip-help
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev pre8: temp files not removed with --enable-gzip-help |
Date: |
Fri, 28 May 1999 23:19:32 +0400 (MSD) |
28-May-99 22:43 I wrote:
> I've tried pre.8 with --enable-gzip-help. After visiting help pages
> and exiting from lynx I found out uncompressed temp files under /temp dir.
> Probably files not removed due to permission problem or so?
> Trace log:
> HTLoadFile: Opening
> `/home/pauzner/.lynx/lib/lynx_help/lynx_help_main.html.gz' gives 0x8164600
> File mode is 0100644, uid=885, gid=100. My uid=885, 0 groups ()
> HTFormat: Constructing stream stack for www/compressed to www/present
> HTFormat: Looking up presentation for www/compressed to www/present
> StreamStack: found weak wildcard match: www/present
> FindPresentation: found exact match: www/compressed
> StreamStack: found exact match: www/compressed
> LYOpenTemp(,.html.gz,wb)
->> '/tmp/L11740-1TMP.html.gz'
> ... LYOpenTemp(/tmp/L11740-1TMP.html.gz)
^^^^^^^^^^^^^^^^^^^^^^^^
> PARAM-ADD:/usr/bin/gzip -d --no-name /tmp/L11740-1TMP.html.gz
> PARAM-END:/usr/bin/gzip -d --no-name /tmp/L11740-1TMP.html.gz
> PARAM-ADD:/bin/rm -f /tmp/L11740-1TMP.html.gz
> PARAM-END:/bin/rm -f /tmp/L11740-1TMP.html.gz
> LYCloseTempFP
> /usr/bin/gzip -d --no-name /tmp/L11740-1TMP.html.gz
> HTParse: aName:file://localhost/tmp/L11740-1TMP.html relatedName:
^^^^^^^^^^^^^^^^^^^^
Oh, I see the difference: we create a temp .html.gz file, uncompress it
so it now .html then trying removing .html.gz on exit (wrong name).
Lynx build with default options so no zlib linked.
> 1
> HTParse: result:/tmp/L11740-1TMP.html
> .......
> stop_curses: done.
> LYStoreCookies: save cookies to /home/pauzner/cookies on exit
> LYStoreCookies: 927908107 cf 2082787201 STORED
> LYRemoveTemp(/tmp/L11740-2TMP.html.gz)
> ...LYRemoveTemp done(-1)
> LYRemoveTemp(/tmp/L11740-1TMP.html.gz)
^^^^^^^^^^^^^^^^^^^^^^^^^
> ...LYRemoveTemp done(-1)
> files not removed.