lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Re: mkstemp source


From: T.E.Dickey
Subject: Re: LYNX-DEV Re: mkstemp source
Date: Sat, 10 May 1997 06:41:24 -0400 (EDT)

> 3. Rename the function.  Since we changed the number of arguments, then
> I propose we use a different name, to prevent confusion with the default
> one.  While the linker would be fine with this, I believe it is best not
actually, some linkers (including the Linux loader) do get confused.

>  int
> -mkstemp (template, xstart)
> +mkstempx (template, xstart)
probably LYmkstemp would be more in line with the code

> +/*static const char letters[] */
> +/* Why does gcc complain if I leave the const in? */
check the c-preprocessor expansion, it'll probably show the problem.

> +  static char letters[] 
>      = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]