1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Don't use trailing commas in enums.

This commit is contained in:
hniksic 2003-10-23 05:15:39 -07:00
parent f365518811
commit d66af0ab20
4 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2003-10-23 Hrvoje Niksic <hniksic@xemacs.org>
* url.c: Ditto.
* html-parse.c (advance_declaration): Don't use trailing comma in
enum because older compilers don't support it.
* utils.c: Don't redefine HAVE_SIGSETJMP.
2003-10-16 Hrvoje Niksic <hniksic@xemacs.org>
* convert.c (construct_relative): Don't handle absolute files

View File

@ -462,7 +462,7 @@ advance_declaration (const char *beg, const char *end)
AC_S_DASH4,
AC_S_QUOTE1,
AC_S_IN_QUOTE,
AC_S_QUOTE2,
AC_S_QUOTE2
} state = AC_S_BANG;
if (beg == end)

View File

@ -1350,7 +1350,7 @@ append_char (char ch, struct growable *dest)
enum {
filechr_not_unix = 1, /* unusable on Unix, / and \0 */
filechr_not_windows = 2, /* unusable on Windows, one of \|/<>?:*" */
filechr_control = 4, /* a control character, e.g. 0-31 */
filechr_control = 4 /* a control character, e.g. 0-31 */
};
#define FILE_CHAR_TEST(c, mask) (filechr_table[(unsigned char)(c)] & (mask))

View File

@ -77,10 +77,14 @@ so, delete this exception statement from your version. */
#ifdef HAVE_SETJMP_H
# include <setjmp.h>
#endif
#ifndef HAVE_SIGSETJMP
/* If sigsetjmp is a macro, configure won't pick it up. */
#ifdef sigsetjmp
# define HAVE_SIGSETJMP
# ifdef sigsetjmp
# define HAVE_SIGSETJMP
# endif
#endif
#ifdef HAVE_SIGNAL
# ifdef HAVE_SIGSETJMP
# define USE_SIGNAL_TIMEOUT