summaryrefslogtreecommitdiffstats
path: root/lib/libexpat/examples/elements.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-08-23 14:53:52 +0000
committerbluhm <bluhm@openbsd.org>2017-08-23 14:53:52 +0000
commit2e724bc967d1d89c02940370dc98ca0bf3231a3a (patch)
tree589ecbb464d174fbc0d3968f635058abc77f9a61 /lib/libexpat/examples/elements.c
parentFix test skip on unsupported architectures. (diff)
downloadwireguard-openbsd-2e724bc967d1d89c02940370dc98ca0bf3231a3a.tar.xz
wireguard-openbsd-2e724bc967d1d89c02940370dc98ca0bf3231a3a.zip
Update libexpat to 2.2.4. Fix copying partial UTF-8 characters.
OK deraadt@
Diffstat (limited to 'lib/libexpat/examples/elements.c')
-rw-r--r--lib/libexpat/examples/elements.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/libexpat/examples/elements.c b/lib/libexpat/examples/elements.c
index fe1699c50e8..e3605f3a5dc 100644
--- a/lib/libexpat/examples/elements.c
+++ b/lib/libexpat/examples/elements.c
@@ -3,6 +3,35 @@
the name of each element to standard output indenting child
elements by one tab stop more than their parent element.
It must be used with Expat compiled for UTF-8 output.
+ __ __ _
+ ___\ \/ /_ __ __ _| |_
+ / _ \\ /| '_ \ / _` | __|
+ | __// \| |_) | (_| | |_
+ \___/_/\_\ .__/ \__,_|\__|
+ |_| XML parser
+
+ Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
+ Copyright (c) 2000-2017 Expat development team
+ Licensed under the MIT license:
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to permit
+ persons to whom the Software is furnished to do so, subject to the
+ following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <stdio.h>