6.4 had a compile error: ``` scan.l:136:7: error: expected identifier or ‘(’ before ‘__extension__’ char *strndup(const char *s, size_t n); ^ ``` This is caused by the standard library strndup() now living in string.h and conflicting with another strndup() declared in scan.l. Version 6.9 fixes this. This also removes the need for the boolean patch that we previously had.wip/yesman
parent
ce6daa507a
commit
44048385bd
@ -1,20 +0,0 @@ |
||||
diff -Naur html-xml-utils-6.4-orig/openurl.c html-xml-utils-6.4/openurl.c
|
||||
--- html-xml-utils-6.4-orig/openurl.c 2012-10-23 09:55:12.000000000 -0400
|
||||
+++ html-xml-utils-6.4/openurl.c 2013-10-17 14:05:11.424077842 -0400
|
||||
@@ -66,6 +66,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
+#include <stdbool.h>
|
||||
#include "export.h"
|
||||
#if HAVE_LIBCURL && !HAVE_FOPENCOOKIE
|
||||
# include "fopencookie.e" /* Use our own fopencookie() */
|
||||
@@ -505,7 +506,7 @@
|
||||
const conststring path, Dictionary request,
|
||||
Dictionary response, int maxredirs, int *status)
|
||||
{
|
||||
- Boolean delete_response = !response;
|
||||
+ bool delete_response = !response;
|
||||
conststring h, v;
|
||||
char buf[BUFLEN];
|
||||
int fd, n, i;
|
Loading…
Reference in new issue