[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev [PATCH 2.8.4rel.1] Unlink TMP files
From: |
Doug Kaufman |
Subject: |
Re: lynx-dev [PATCH 2.8.4rel.1] Unlink TMP files |
Date: |
Wed, 18 Jul 2001 19:58:43 -0700 (PDT) |
On Wed, 18 Jul 2001, Ilya Zakharevich wrote:
> --- ./src/HTFWriter.c-pre Sun Jun 3 11:58:00 2001
> +++ ./src/HTFWriter.c Wed Jul 18 13:43:40 2001
> @@ -441,6 +441,12 @@ PRIVATE void HTFWriter_free ARGS1(HTStre
> return;
> ...
> +#else
> + chmod(me->remove_command, 0600); /* Ignore errors */
I haven't applied this to see what would happen, but 0600 is an
illegal argument for the DJGPP chmod(), Calls to chmod frequently
cause crashes under DJGPP, so most of the code changing permisssions
in lynx is ifdef'd to exclude DJGPP. The code also uses unlink(),
which is present in DJGPP, but is neither ANSI nor POSIX. I wonder how
portable this is.
Doug
__
Doug Kaufman
Internet: address@hidden
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden