freebsd-ports/textproc/sml-fxp/files/patch-src-Unicode-Uri-uriEncode.sml
Thomas Abthorpe 7542e5c15d fxp is a validating XML parser written completely in the functional
programming language SML. fxp can validate both XML 1.0 and XML 1.1
documents. It has a programming interface allowing for production of XML
applications based on fxp. It is installed with four example applications.

WWW: http://www2.informatik.tu-muenchen.de/~berlea/Fxp

PR:		ports/116572
Submitted by:	Timothy Bourke <timbob at bigpond.com>
2007-10-04 03:02:59 +00:00

21 lines
588 B
Standard ML

diff -Naur src/Unicode/Uri/uriEncode.sml.orig src/Unicode/Uri/uriEncode.sml
--- src/Unicode/Uri/uriEncode.sml.orig 2003-10-09 09:47:57.000000000 -0500
+++ src/Unicode/Uri/uriEncode.sml 2003-10-17 13:52:57.000000000 -0500
@@ -73,7 +73,7 @@
in c2::c1:: #"%"::s
end)
s (encodeCharUtf8 c))
- nil (cv,0,NONE)
+ nil cv
in String.implode (rev revd)
end
@@ -85,7 +85,7 @@
else let val (c1,c2) = Byte2Cc (Char2Byte c)
in c2::c1:: #"%"::s
end))
- nil (cv,0,NONE)
+ nil cv
in String.implode (rev revd)
end