From 313b592639aa6aaa342ca34b9b6a8a77a299621a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 9 Apr 2014 16:51:51 -0700 Subject: Add all the missing copyright headers --- src/io/cxxstdio.cpp | 18 ++++++++++++++++++ src/io/line_test.cpp | 20 ++++++++++++++++++++ src/io/lock.hpp | 2 ++ src/io/read_test.cpp | 20 ++++++++++++++++++++ src/io/write_test.cpp | 20 ++++++++++++++++++++ 5 files changed, 80 insertions(+) (limited to 'src/io') diff --git a/src/io/cxxstdio.cpp b/src/io/cxxstdio.cpp index aa603e4..fbfdd46 100644 --- a/src/io/cxxstdio.cpp +++ b/src/io/cxxstdio.cpp @@ -1,3 +1,21 @@ #include "cxxstdio.hpp" +// cxxstdio.cpp - pass C++ types through scanf/printf +// +// Copyright © 2013 Ben Longbons +// +// This file is part of The Mana World (Athena server) +// +// 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 . #include "../poison.hpp" diff --git a/src/io/line_test.cpp b/src/io/line_test.cpp index df8a0d3..feee1fb 100644 --- a/src/io/line_test.cpp +++ b/src/io/line_test.cpp @@ -1,9 +1,29 @@ #include "line.hpp" +// io/line_test.cpp - Testsuite for input from files, line-by-line +// +// Copyright © 2014 Ben Longbons +// +// This file is part of The Mana World (Athena server) +// +// 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 . #include #include "../strings/zstring.hpp" +#include "../poison.hpp" + static io::FD string_pipe(ZString sz) { diff --git a/src/io/lock.hpp b/src/io/lock.hpp index b5052cf..b879da5 100644 --- a/src/io/lock.hpp +++ b/src/io/lock.hpp @@ -19,6 +19,8 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +# include "../sanity.hpp" + # include "write.hpp" # include "../strings/rstring.hpp" diff --git a/src/io/read_test.cpp b/src/io/read_test.cpp index 5d287dd..87f95ba 100644 --- a/src/io/read_test.cpp +++ b/src/io/read_test.cpp @@ -1,9 +1,29 @@ #include "read.hpp" +// io/read_test.cpp - Testsuite for input from files +// +// Copyright © 2013 Ben Longbons +// +// This file is part of The Mana World (Athena server) +// +// 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 . #include #include "../strings/zstring.hpp" +#include "../poison.hpp" + static io::FD string_pipe(ZString sz) { diff --git a/src/io/write_test.cpp b/src/io/write_test.cpp index f703850..ae8eccd 100644 --- a/src/io/write_test.cpp +++ b/src/io/write_test.cpp @@ -1,4 +1,22 @@ #include "write.hpp" +// io/write_test.cpp - Testsuite for output to files +// +// Copyright © 2013 Ben Longbons +// +// This file is part of The Mana World (Athena server) +// +// 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 . #include @@ -9,6 +27,8 @@ #include "../strings/mstring.hpp" #include "../strings/xstring.hpp" +#include "../poison.hpp" + static io::FD pipew(io::FD& rfd) { -- cgit v1.2.3-70-g09d2