summaryrefslogtreecommitdiff
blob: 478df6b2115e41d9a636134e1fac1e44cad4c60d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff -ur XSB.orig/packages/libwww/cc/libwww_parse_html.c XSB/packages/libwww/cc/libwww_parse_html.c
--- XSB.orig/packages/libwww/cc/libwww_parse_html.c	2003-12-31 14:04:51.000000000 +1300
+++ XSB/packages/libwww/cc/libwww_parse_html.c	2007-01-27 16:42:10.000000000 +1300
@@ -138,7 +138,7 @@
 
   /* put the text string into the elt term and then pop it */
   if (context->convert2list)
-    c2p_chars(pcdata_buf.string+shift, p2p_arg(STACK_TOP(htext).elt_term,3));
+    c2p_chars(pcdata_buf.string+shift, 4, p2p_arg(STACK_TOP(htext).elt_term,3));
   else 
     c2p_string(pcdata_buf.string+shift, p2p_arg(STACK_TOP(htext).elt_term,3));
 
diff -ur XSB.orig/packages/libwww/cc/libwww_parse_xml.c XSB/packages/libwww/cc/libwww_parse_xml.c
--- XSB.orig/packages/libwww/cc/libwww_parse_xml.c	2003-12-31 14:04:51.000000000 +1300
+++ XSB/packages/libwww/cc/libwww_parse_xml.c	2007-01-27 16:42:44.000000000 +1300
@@ -174,7 +174,7 @@
 
   /* put the text string into the elt term and then pop it */
   if (context->convert2list)
-    c2p_chars(pcdata_buf.string+shift,
+    c2p_chars(pcdata_buf.string+shift, 4,
 	      p2p_arg(STACK_TOP(userdata_obj).elt_term,3));
   else
     c2p_string(pcdata_buf.string+shift,
diff -ur XSB.orig/packages/libwww/cc/libwww_request.c XSB/packages/libwww/cc/libwww_request.c
--- XSB.orig/packages/libwww/cc/libwww_request.c	2005-02-27 08:19:51.000000000 +1300
+++ XSB/packages/libwww/cc/libwww_request.c	2007-01-27 16:46:55.000000000 +1300
@@ -959,7 +959,7 @@
 
     if (result_as_string) {
       if (context->convert2list)
-	c2p_chars(result_as_string, context->request_result);
+	c2p_chars(result_as_string, 5, context->request_result);
       else c2p_string(result_as_string, context->request_result);
     }
     /* Note: HTChunk_toCString frees the chunk, and here we free the chank
diff -ur XSB.orig/packages/libwww/configure XSB/packages/libwww/configure
--- XSB.orig/packages/libwww/configure	2003-09-29 20:26:50.000000000 +1200
+++ XSB/packages/libwww/configure	2007-01-27 17:01:15.000000000 +1300
@@ -562,10 +562,10 @@
 
 
 if test -z "$with_config"; then
-echo '
-- You did not tell me what kind of host system you want to configure.
-- I will attempt to guess the kind of system this is.
-' 1>&6
+#echo '
+#- You did not tell me what kind of host system you want to configure.
+#- I will attempt to guess the kind of system this is.
+#' 1>&6
     
 # Make sure we can run config.sub.
 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :