diff options
Diffstat (limited to 'WWW')
-rw-r--r-- | WWW/FreeofCharge.html | 26 | ||||
-rw-r--r-- | WWW/Library/Implementation/HTUtils.h | 18 | ||||
-rw-r--r-- | WWW/Library/Implementation/SGML.c | 4 |
3 files changed, 15 insertions, 33 deletions
diff --git a/WWW/FreeofCharge.html b/WWW/FreeofCharge.html deleted file mode 100644 index 67cb3f20..00000000 --- a/WWW/FreeofCharge.html +++ /dev/null @@ -1,26 +0,0 @@ -<!-- X-URL: http://www.w3.org/History/1993/WWW/Conditions/old/FreeofCharge.html --> -<BASE HREF="http://www.w3.org/History/1993/WWW/Conditions/old/FreeofCharge.html"> - -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> - -<HTML><HEAD><TITLE> -CERN WWW software freely available</TITLE><NEXTID N="z9"></HEAD><BODY><H1> -Software freely available</H1>The following CERN software is hereby put into -the public domain. -<UL> -<LI>WWW basic ("line-mode") client <LI>WWW basic server <LI>WWW Library of -common code.</UL>CERN relinquishes all intellectual property rights to this -code, both source and binary form and permission is granted for anyone to use, -duplicate, -modify and redistribute it.<P>CERN provides absolutely NO WARRANTY OF ANY KIND -with respect to this software. -The entire risk as to the quality and performance of this software is with the -user. -IN NO EVENT WILL CERN BE LIABLE TO ANYONE FOR ANY DAMAGES ARISING OUT THE USE -OF THIS SOFTWARE, INCLUDING, WITHOUT LIMITATION, -DAMAGES RESULTING FROM LOST DATA OR LOST PROFITS, OR FOR ANY SPECIAL, -INCIDENTAL OR CONSEQUENTIAL DAMAGES.<P>This is part of the <A -HREF="Introduction.html" NAME="z8"> -CERN WWW</A> distribution condidtions.<P>Declaration to this effect signed by -the CERN directors of Administration (H. Weber) and Research (W. -Hoogland), May 1993.</BODY></HTML> diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h index cdc3442d..0bc6a66d 100644 --- a/WWW/Library/Implementation/HTUtils.h +++ b/WWW/Library/Implementation/HTUtils.h @@ -1,5 +1,5 @@ /* - * $LynxId: HTUtils.h,v 1.87 2008/09/17 16:31:34 tom Exp $ + * $LynxId: HTUtils.h,v 1.89 2008/09/24 00:20:35 tom Exp $ * * Utility macros for the W3 code library * MACROS FOR GENERAL USE @@ -550,15 +550,19 @@ extern int WWW_TraceMask; #define PRI_off_t PRId64 #define SCN_off_t SCNd64 #define CAST_off_t(n) (int64_t)(n) -#elif defined(PRId32) +#elif (SIZEOF_OFF_T == 4) && defined(PRId32) #define PRI_off_t PRId32 #define SCN_off_t SCNd32 +#if (SIZEOF_LONG == 4) +#define CAST_off_t(n) (long)(n) +#else #define CAST_off_t(n) (int32_t)(n) #endif #endif +#endif #ifndef PRI_off_t -#if (SIZEOF_OFF_T == 8) +#if (SIZEOF_OFF_T > SIZEOF_LONG) #define PRI_off_t "lld" #define SCN_off_t "lld" #define CAST_off_t(n) (long long)(n) @@ -577,15 +581,19 @@ extern int WWW_TraceMask; #define PRI_time_t PRId64 #define SCN_time_t SCNd64 #define CAST_time_t(n) (int64_t)(n) -#elif defined(PRId32) +#elif (SIZEOF_TIME_T == 4) && defined(PRId32) #define PRI_time_t PRId32 #define SCN_time_t SCNd32 +#if (SIZEOF_LONG == 4) +#define CAST_time_t(n) (long)(n) +#else #define CAST_time_t(n) (int32_t)(n) #endif #endif +#endif #ifndef PRI_time_t -#if (SIZEOF_TIME_T == 8) +#if (SIZEOF_TIME_T > SIZEOF_LONG) #define PRI_time_t "lld" #define SCN_time_t "lld" #define CAST_time_t(n) (long long)(n) diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c index fe8f9ecd..73e762c3 100644 --- a/WWW/Library/Implementation/SGML.c +++ b/WWW/Library/Implementation/SGML.c @@ -1,5 +1,5 @@ /* - * $LynxId: SGML.c,v 1.117 2008/09/21 18:34:39 tom Exp $ + * $LynxId: SGML.c,v 1.118 2008/09/22 23:21:46 tom Exp $ * * General SGML Parser code SGML.c * ======================== @@ -1564,7 +1564,7 @@ static void discard_empty(HTStream *context) } #ifdef USE_PRETTYSRC -static BOOL end_if_prettysrc(HTStream *context, HTChunk *string, int end_ch) +static BOOL end_if_prettysrc(HTStream *context, HTChunk *string, char end_ch) { BOOL result = psrc_view; |