summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/wolf/port/unused.h17
-rw-r--r--src/daemon/daemon.c17
-rw-r--r--src/daemon/pidfile.c17
-rw-r--r--src/daemon/pidfile.h17
-rw-r--r--src/daemon/signals.c17
-rwxr-xr-xsrc/log/create_wolfmsg.pl30
-rw-r--r--src/log/wolfmsg.mc15
-rw-r--r--src/po/de.po2
-rw-r--r--src/port/limits.h17
-rw-r--r--src/port/snprintf.h17
-rw-r--r--src/port/stdint.h17
-rw-r--r--src/service/service.c17
-rw-r--r--tests/daemon/po/de.po2
-rw-r--r--tests/daemon/testd.c17
-rw-r--r--tests/gettext/test_gettext.c17
-rw-r--r--tests/gettext/test_gettext.pot6
-rw-r--r--tests/gettext/test_gettext_de.po6
-rw-r--r--tests/gettext/test_gettext_de_CH.po6
-rw-r--r--tests/log/test_log.c17
-rw-r--r--tests/log/testmsg.mc14
-rw-r--r--tests/network/test1_unix.c17
-rw-r--r--tests/network/test1_win32_select.c17
-rw-r--r--tests/network/test2_unix.c17
-rw-r--r--tests/network/test_proactor.c17
-rw-r--r--tests/port/test_gai_strerror_r.c17
-rw-r--r--tests/port/test_getaddrinfo.c17
-rw-r--r--tests/port/test_itoa.c17
-rw-r--r--tests/port/test_localtime_r.c17
-rw-r--r--tests/port/test_snprintf.c17
-rw-r--r--tests/port/test_strcasecmp.c17
-rw-r--r--tests/port/test_strdup.c17
-rw-r--r--tests/port/test_strerror_r.c17
-rw-r--r--tests/port/test_strlcat.c17
-rw-r--r--tests/port/test_strlcpy.c17
-rw-r--r--tests/port/test_strncasecmp.c17
-rw-r--r--tests/service/testservice.c17
-rw-r--r--tests/threads/test_counter_mutex.c17
-rw-r--r--tests/threads/test_create_join.c17
38 files changed, 580 insertions, 11 deletions
diff --git a/include/wolf/port/unused.h b/include/wolf/port/unused.h
index c18ed27..2de9b4f 100644
--- a/include/wolf/port/unused.h
+++ b/include/wolf/port/unused.h
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#ifndef WOLF_UNUSED_H
#define WOLF_UNUSED_H
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 49e2cee..f3118ae 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys_internal.h"
#include "port/stdio.h" /* for snprintf */
#include "port/string.h" /* for strdup */
diff --git a/src/daemon/pidfile.c b/src/daemon/pidfile.c
index 4b6615f..2b3818a 100644
--- a/src/daemon/pidfile.c
+++ b/src/daemon/pidfile.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys_internal.h"
#include "port/stdio.h" /* for snprintf */
#include "port/string.h" /* for strdup, strcspn */
diff --git a/src/daemon/pidfile.h b/src/daemon/pidfile.h
index dacf337..a92ae57 100644
--- a/src/daemon/pidfile.h
+++ b/src/daemon/pidfile.h
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#ifndef __PIDFILE_H
#define __PIDFILE_H
diff --git a/src/daemon/signals.c b/src/daemon/signals.c
index 5ea5ac3..2362b6c 100644
--- a/src/daemon/signals.c
+++ b/src/daemon/signals.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys_internal.h"
#include "port/string.h" /* for memset */
diff --git a/src/log/create_wolfmsg.pl b/src/log/create_wolfmsg.pl
index cbe6585..8702f9b 100755
--- a/src/log/create_wolfmsg.pl
+++ b/src/log/create_wolfmsg.pl
@@ -1,4 +1,19 @@
#!/usr/bin/perl -w
+#
+# Copyright (C) 2008 Andreas Baumann <abaumann at yahoo dot com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
use strict;
@@ -10,6 +25,21 @@ my %gettext_lang = (
# header declaring the langages
print <<EOF;
+;// Copyright (C) 2008 Andreas Baumann <abaumann at yahoo dot com>
+
+;// This program is free software: you can redistribute it and/or modify
+;// it under the terms of the GNU General Public License as published by
+;// the Free Software Foundation, either version 3 of the License, or
+;// (at your option) any later version.
+
+;// This program is distributed in the hope that it will be useful,
+;// but WITHOUT ANY WARRANTY; without even the implied warranty of
+;// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;// GNU General Public License for more details.
+
+;// You should have received a copy of the GNU General Public License
+;// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
;// messages file for wolf messages
;// language codes for translated messages
diff --git a/src/log/wolfmsg.mc b/src/log/wolfmsg.mc
index 502fc94..46eab40 100644
--- a/src/log/wolfmsg.mc
+++ b/src/log/wolfmsg.mc
@@ -1,3 +1,18 @@
+;// Copyright (C) 2008 Andreas Baumann <abaumann at yahoo dot com>
+
+;// This program is free software: you can redistribute it and/or modify
+;// it under the terms of the GNU General Public License as published by
+;// the Free Software Foundation, either version 3 of the License, or
+;// (at your option) any later version.
+
+;// This program is distributed in the hope that it will be useful,
+;// but WITHOUT ANY WARRANTY; without even the implied warranty of
+;// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;// GNU General Public License for more details.
+
+;// You should have received a copy of the GNU General Public License
+;// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
;// messages file for wolf messages
;// language codes for translated messages
diff --git a/src/po/de.po b/src/po/de.po
index 90b4b71..12c01c9 100644
--- a/src/po/de.po
+++ b/src/po/de.po
@@ -1,4 +1,4 @@
-# Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+# Copyright (C) 2008 Andreas Baumann <abaumann at yahoo dot com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/src/port/limits.h b/src/port/limits.h
index 40ae1bb..0d85c05 100644
--- a/src/port/limits.h
+++ b/src/port/limits.h
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#ifndef __LIMITS_H
#define __LIMITS_H
diff --git a/src/port/snprintf.h b/src/port/snprintf.h
index 4984239..27201a5 100644
--- a/src/port/snprintf.h
+++ b/src/port/snprintf.h
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#ifndef __SNPRINTF_H
#define __SNPRINTF_H
diff --git a/src/port/stdint.h b/src/port/stdint.h
index ec4f0ce..ea74f50 100644
--- a/src/port/stdint.h
+++ b/src/port/stdint.h
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#ifndef __STDINT_H
#define __STDINT_H
diff --git a/src/service/service.c b/src/service/service.c
index 5668313..3b30c55 100644
--- a/src/service/service.c
+++ b/src/service/service.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "service/service.h"
#include "log/log.h" /* for logging */
diff --git a/tests/daemon/po/de.po b/tests/daemon/po/de.po
index 5c248d8..6311d2d 100644
--- a/tests/daemon/po/de.po
+++ b/tests/daemon/po/de.po
@@ -1,4 +1,4 @@
-# Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+# Copyright (C) 2008 Andreas Baumann <abaumann at yahoo dot com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/daemon/testd.c b/tests/daemon/testd.c
index 1f03e0f..dbeb88b 100644
--- a/tests/daemon/testd.c
+++ b/tests/daemon/testd.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/string.h" /* for strdup, memset */
#include "port/stdio.h" /* for fprintf */
#define DEFAULT_TEXT_DOMAIN CMDLINE_PARSER_PACKAGE
diff --git a/tests/gettext/test_gettext.c b/tests/gettext/test_gettext.c
index d54a6f7..d5cb4c5 100644
--- a/tests/gettext/test_gettext.c
+++ b/tests/gettext/test_gettext.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#include "port/string.h" /* for strerror_r */
diff --git a/tests/gettext/test_gettext.pot b/tests/gettext/test_gettext.pot
index 18e7dc3..16cbc9a 100644
--- a/tests/gettext/test_gettext.pot
+++ b/tests/gettext/test_gettext.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-16 21:26+0100\n"
+"POT-Creation-Date: 2010-04-18 11:37+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,11 +16,11 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: test_gettext.c:59
+#: test_gettext.c:76
#, c-format
msgid "A message with two parameters, a string %s and an integer %d\n"
msgstr ""
-#: test_gettext.c:53
+#: test_gettext.c:70
msgid "A message without parameters"
msgstr ""
diff --git a/tests/gettext/test_gettext_de.po b/tests/gettext/test_gettext_de.po
index f6b0c63..ca13feb 100644
--- a/tests/gettext/test_gettext_de.po
+++ b/tests/gettext/test_gettext_de.po
@@ -6,7 +6,7 @@
msgid ""
msgstr "Project-Id-Version: WolfBones 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2009-03-16 21:26+0100\n"
+ "POT-Creation-Date: 2010-04-18 11:37+0200\n"
"PO-Revision-Date: 2009-03-09 09:33+0100\n"
"Last-Translator: <abaumann@yahoo.com>\n"
"Language-Team: German\n"
@@ -15,11 +15,11 @@ msgstr "Project-Id-Version: WolfBones 0.0.1\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: test_gettext.c:59
+#: test_gettext.c:76
#, c-format
msgid "A message with two parameters, a string %s and an integer %d\n"
msgstr "Eine Meldung mit einem String Parameter %s und einer Zahl %d\n"
-#: test_gettext.c:53
+#: test_gettext.c:70
msgid "A message without parameters"
msgstr "Eine Meldung ohne Parameter"
diff --git a/tests/gettext/test_gettext_de_CH.po b/tests/gettext/test_gettext_de_CH.po
index f6b0c63..ca13feb 100644
--- a/tests/gettext/test_gettext_de_CH.po
+++ b/tests/gettext/test_gettext_de_CH.po
@@ -6,7 +6,7 @@
msgid ""
msgstr "Project-Id-Version: WolfBones 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2009-03-16 21:26+0100\n"
+ "POT-Creation-Date: 2010-04-18 11:37+0200\n"
"PO-Revision-Date: 2009-03-09 09:33+0100\n"
"Last-Translator: <abaumann@yahoo.com>\n"
"Language-Team: German\n"
@@ -15,11 +15,11 @@ msgstr "Project-Id-Version: WolfBones 0.0.1\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: test_gettext.c:59
+#: test_gettext.c:76
#, c-format
msgid "A message with two parameters, a string %s and an integer %d\n"
msgstr "Eine Meldung mit einem String Parameter %s und einer Zahl %d\n"
-#: test_gettext.c:53
+#: test_gettext.c:70
msgid "A message without parameters"
msgstr "Eine Meldung ohne Parameter"
diff --git a/tests/log/test_log.c b/tests/log/test_log.c
index 48f2c2e..3d6ab97 100644
--- a/tests/log/test_log.c
+++ b/tests/log/test_log.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "log/log.h" /* for logging */
#include "log/messages.h" /* for i18n */
#include "port/string.h" /* for strerror_r */
diff --git a/tests/log/testmsg.mc b/tests/log/testmsg.mc
index 10bc408..8843fad 100644
--- a/tests/log/testmsg.mc
+++ b/tests/log/testmsg.mc
@@ -1,3 +1,17 @@
+;// Copyright (C) 2008 Andreas Baumann <abaumann at yahoo dot com>
+
+;// This program is free software: you can redistribute it and/or modify
+;// it under the terms of the GNU General Public License as published by
+;// the Free Software Foundation, either version 3 of the License, or
+;// (at your option) any later version.
+
+;// This program is distributed in the hope that it will be useful,
+;// but WITHOUT ANY WARRANTY; without even the implied warranty of
+;// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;// GNU General Public License for more details.
+
+;// You should have received a copy of the GNU General Public License
+;// along with this program. If not, see <http://www.gnu.org/licenses/>.
;// messages file for wolf messages
;// language codes for translated messages
diff --git a/tests/network/test1_unix.c b/tests/network/test1_unix.c
index 28a5426..6d61858 100644
--- a/tests/network/test1_unix.c
+++ b/tests/network/test1_unix.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
/* Unix traditional and most portable way of a TCP/IP client using select().
*
* Also tests asynchrononous connect (for proper timeout handling in case of
diff --git a/tests/network/test1_win32_select.c b/tests/network/test1_win32_select.c
index f83320e..5e299c6 100644
--- a/tests/network/test1_win32_select.c
+++ b/tests/network/test1_win32_select.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
/* Unix traditional and most portable way of a TCP/IP client using select().
*
* Also tests asynchrononous connect (for proper timeout handling in case of
diff --git a/tests/network/test2_unix.c b/tests/network/test2_unix.c
index dcb468c..9241e8d 100644
--- a/tests/network/test2_unix.c
+++ b/tests/network/test2_unix.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
/* Unix traditional and most portable way of a TCP/IP server using select().
*
* Also tests asynchrononous accept (to avoid DoSAs on blocking accepts).
diff --git a/tests/network/test_proactor.c b/tests/network/test_proactor.c
index 7bc1582..0722fe2 100644
--- a/tests/network/test_proactor.c
+++ b/tests/network/test_proactor.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
/* Trying to implement a simplistic asynch I/O system using the Proactor
Connector/Acceptor pattern. Unix-only at the moment. Trying to get the
C APIs right
diff --git a/tests/port/test_gai_strerror_r.c b/tests/port/test_gai_strerror_r.c
index d744bbc..07e5a3e 100644
--- a/tests/port/test_gai_strerror_r.c
+++ b/tests/port/test_gai_strerror_r.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_GAI_STRERROR_R
diff --git a/tests/port/test_getaddrinfo.c b/tests/port/test_getaddrinfo.c
index 42e28d1..5b76c28 100644
--- a/tests/port/test_getaddrinfo.c
+++ b/tests/port/test_getaddrinfo.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#include "port/netdb.h" /* for getaddrinfo, NI_MAXHOST */
diff --git a/tests/port/test_itoa.c b/tests/port/test_itoa.c
index 84c72f2..4ffb068 100644
--- a/tests/port/test_itoa.c
+++ b/tests/port/test_itoa.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_ITOA
diff --git a/tests/port/test_localtime_r.c b/tests/port/test_localtime_r.c
index c56821c..fb539e8 100644
--- a/tests/port/test_localtime_r.c
+++ b/tests/port/test_localtime_r.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_LOCALTIME_R
diff --git a/tests/port/test_snprintf.c b/tests/port/test_snprintf.c
index 14d7adb..ce4a0a4 100644
--- a/tests/port/test_snprintf.c
+++ b/tests/port/test_snprintf.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define WOLF_TEST_SNPRINTF
diff --git a/tests/port/test_strcasecmp.c b/tests/port/test_strcasecmp.c
index 48b2ed1..12a47ee 100644
--- a/tests/port/test_strcasecmp.c
+++ b/tests/port/test_strcasecmp.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_STRCASECMP
diff --git a/tests/port/test_strdup.c b/tests/port/test_strdup.c
index d8e5959..9c34b97 100644
--- a/tests/port/test_strdup.c
+++ b/tests/port/test_strdup.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_STRDUP
diff --git a/tests/port/test_strerror_r.c b/tests/port/test_strerror_r.c
index 4d5eb7b..833013c 100644
--- a/tests/port/test_strerror_r.c
+++ b/tests/port/test_strerror_r.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_STRERROR_R
diff --git a/tests/port/test_strlcat.c b/tests/port/test_strlcat.c
index 402723e..264b76c 100644
--- a/tests/port/test_strlcat.c
+++ b/tests/port/test_strlcat.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_STRLCAT
diff --git a/tests/port/test_strlcpy.c b/tests/port/test_strlcpy.c
index d83ed58..7d0a6b5 100644
--- a/tests/port/test_strlcpy.c
+++ b/tests/port/test_strlcpy.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_STRLCPY
diff --git a/tests/port/test_strncasecmp.c b/tests/port/test_strncasecmp.c
index 3700613..ecbad92 100644
--- a/tests/port/test_strncasecmp.c
+++ b/tests/port/test_strncasecmp.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port/sys.h"
#define TEST_STRNCASECMP
diff --git a/tests/service/testservice.c b/tests/service/testservice.c
index 59d02e6..e2c7b48 100644
--- a/tests/service/testservice.c
+++ b/tests/service/testservice.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "log/log.h" /* for logging */
#include "log/messages.h" /* for i18n */
#include "port/string.h" /* for strcasecmp */
diff --git a/tests/threads/test_counter_mutex.c b/tests/threads/test_counter_mutex.c
index 4b7324c..af28f6f 100644
--- a/tests/threads/test_counter_mutex.c
+++ b/tests/threads/test_counter_mutex.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "threads/threads.h"
#include "threads/mutex.h"
#include "port/unused.h"
diff --git a/tests/threads/test_create_join.c b/tests/threads/test_create_join.c
index 6d9f66d..12b39d3 100644
--- a/tests/threads/test_create_join.c
+++ b/tests/threads/test_create_join.c
@@ -1,3 +1,20 @@
+/*
+ Copyright (C) 2008 Andreas Baumann <abaumann@yahoo.com>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "threads/threads.h"
#include "port/unused.h"