[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev patch for dev.13 - LYBookmark.c
From: |
dickey |
Subject: |
Re: lynx-dev patch for dev.13 - LYBookmark.c |
Date: |
Fri, 1 Jan 1999 16:01:14 -0500 (EST) |
>
> I don't understand exactly what this code is doing, but the syntax
> appears to be wrong.
you're right - but now I'm puzzle why the compile-log doesn't show this.
(gcc can usually tell the difference between an integer and a char*).
> Doug
>
> *** lynx2-8-2/src/LYBookmark.c Fri Jan 1 10:26:46 1999
> --- lynx2-8-2/src/LYBookmark.c.new Fri Jan 1 11:43:38 1999
> ***************
> *** 543,551 ****
> {
> static CONST char MV_FMT[] = "%s %s %s";
> char *buffer = 0;
> ! HTAddParam(&buffer, MV_FMT, MV_PATH, 1);
> ! HTAddParam(&buffer, MV_FMT, newfile, 2);
> ! HTAddParam(&buffer, MV_FMT, filename_buffer, 3);
> HTEndParam(&buffer, MV_FMT, 3);
> LYSystem(buffer);
> FREE(buffer);
> --- 543,551 ----
> {
> static CONST char MV_FMT[] = "%s %s %s";
> char *buffer = 0;
> ! HTAddParam(&buffer, MV_FMT, 1, MV_PATH);
> ! HTAddParam(&buffer, MV_FMT, 2, newfile);
> ! HTAddParam(&buffer, MV_FMT, 3, filename_buffer);
> HTEndParam(&buffer, MV_FMT, 3);
> LYSystem(buffer);
> FREE(buffer);
>
> __
> Doug Kaufman
> Internet: address@hidden (preferred)
> address@hidden
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey