diff options
author | Robby <robby@chatbelgie.be> | 2016-01-28 20:24:49 +0100 |
---|---|---|
committer | Robby <robby@chatbelgie.be> | 2016-01-28 20:24:49 +0100 |
commit | f118960a25dd1f482e77586b7853107692d31ec9 (patch) | |
tree | c9f232bfeee7a8bc35a4ff5aabfa93969ce3fbef /src/win32 | |
parent | 5d6a71b6d2dc72d95e188c5b1a5bfb7527bd38cd (diff) |
Update copyright to 2016. This was done with:
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
Fixed some whitespace and blank lines along the way.
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/Config.cs | 2 | ||||
-rw-r--r-- | src/win32/anope_windows.h | 8 | ||||
-rw-r--r-- | src/win32/dir/dir.cpp | 5 | ||||
-rw-r--r-- | src/win32/dir/dir.h | 5 | ||||
-rw-r--r-- | src/win32/dl/dl.cpp | 5 | ||||
-rw-r--r-- | src/win32/dl/dl.h | 5 | ||||
-rw-r--r-- | src/win32/pipe/pipe.cpp | 6 | ||||
-rw-r--r-- | src/win32/pipe/pipe.h | 5 | ||||
-rw-r--r-- | src/win32/pthread/pthread.cpp | 5 | ||||
-rw-r--r-- | src/win32/pthread/pthread.h | 5 | ||||
-rw-r--r-- | src/win32/resource.h | 8 | ||||
-rw-r--r-- | src/win32/sigaction/sigaction.cpp | 22 | ||||
-rw-r--r-- | src/win32/sigaction/sigaction.h | 36 | ||||
-rw-r--r-- | src/win32/socket.cpp | 5 | ||||
-rw-r--r-- | src/win32/socket.h | 5 | ||||
-rw-r--r-- | src/win32/win32.rc.cmake | 2 | ||||
-rw-r--r-- | src/win32/windows.cpp | 6 |
17 files changed, 76 insertions, 59 deletions
diff --git a/src/win32/Config.cs b/src/win32/Config.cs index 4f611a129..d7c9661ec 100644 --- a/src/win32/Config.cs +++ b/src/win32/Config.cs @@ -1,7 +1,7 @@ /*
* Config.cs - Windows Configuration
*
- * (C) 2003-2014 Anope Team
+ * (C) 2003-2016 Anope Team
* Contact us at team@anope.org
*
* This program is free but copyrighted software; see the file COPYING for
diff --git a/src/win32/anope_windows.h b/src/win32/anope_windows.h index e534d7927..14c83b4d4 100644 --- a/src/win32/anope_windows.h +++ b/src/win32/anope_windows.h @@ -1,14 +1,14 @@ /* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2011 Robin Burchell <w00t@inspircd.org> - * Copyright (C) 2008-2014 Anope Team <info@anope.org> + * (C) 2008-2011 Robin Burchell <w00t@inspircd.org> + * (C) 2008-2016 Anope Team <team@anope.org> * * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. * Based on the original code of Services by Andy Church. */ - + #ifndef WINDOWS_H #define WINDOWS_H #ifdef _WIN32 @@ -65,7 +65,7 @@ namespace Anope { class string; } - + extern CoreExport void OnStartup(); extern CoreExport void OnShutdown(); extern CoreExport USHORT WindowsGetLanguage(const Anope::string &lang); diff --git a/src/win32/dir/dir.cpp b/src/win32/dir/dir.cpp index 21b80824b..d660c9694 100644 --- a/src/win32/dir/dir.cpp +++ b/src/win32/dir/dir.cpp @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/dir/dir.h b/src/win32/dir/dir.h index 5ddf71e7b..a6c9a055f 100644 --- a/src/win32/dir/dir.h +++ b/src/win32/dir/dir.h @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/dl/dl.cpp b/src/win32/dl/dl.cpp index 5b19d7441..bdcbe636c 100644 --- a/src/win32/dl/dl.cpp +++ b/src/win32/dl/dl.cpp @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/dl/dl.h b/src/win32/dl/dl.h index 02a2f1d3d..81c115fef 100644 --- a/src/win32/dl/dl.h +++ b/src/win32/dl/dl.h @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/pipe/pipe.cpp b/src/win32/pipe/pipe.cpp index 706ff655e..70690ab2b 100644 --- a/src/win32/pipe/pipe.cpp +++ b/src/win32/pipe/pipe.cpp @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ @@ -58,4 +59,3 @@ int pipe(int fds[2]) return 0; } - diff --git a/src/win32/pipe/pipe.h b/src/win32/pipe/pipe.h index 8e67bafc7..d77d0706b 100644 --- a/src/win32/pipe/pipe.h +++ b/src/win32/pipe/pipe.h @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/pthread/pthread.cpp b/src/win32/pthread/pthread.cpp index 3bb8b6d7b..36b8cd54d 100644 --- a/src/win32/pthread/pthread.cpp +++ b/src/win32/pthread/pthread.cpp @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/pthread/pthread.h b/src/win32/pthread/pthread.h index 234a2a027..18909a17d 100644 --- a/src/win32/pthread/pthread.h +++ b/src/win32/pthread/pthread.h @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/resource.h b/src/win32/resource.h index cccb0b4f5..0fb755b56 100644 --- a/src/win32/resource.h +++ b/src/win32/resource.h @@ -1,3 +1,11 @@ +/* + * + * (C) 2005-2016 Anope Team + * Contact us at team@anope.org + * + * Please read COPYING and README for further details. + */ + //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by Win32GUI.rc diff --git a/src/win32/sigaction/sigaction.cpp b/src/win32/sigaction/sigaction.cpp index d5a2d87d1..17faaf2fb 100644 --- a/src/win32/sigaction/sigaction.cpp +++ b/src/win32/sigaction/sigaction.cpp @@ -1,19 +1,20 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. * Based on the original code of Services by Andy Church. */ - - #include <windows.h> - #include "sigaction.h" - #include <signal.h> - - int sigaction(int sig, struct sigaction *action, struct sigaction *old) - { + +#include <windows.h> +#include "sigaction.h" +#include <signal.h> + +int sigaction(int sig, struct sigaction *action, struct sigaction *old) +{ if (sig == -1) return 0; if (old == NULL) @@ -27,5 +28,4 @@ return -1; } return 0; - } -
\ No newline at end of file +} diff --git a/src/win32/sigaction/sigaction.h b/src/win32/sigaction/sigaction.h index 0e9c2f246..c517ba16d 100644 --- a/src/win32/sigaction/sigaction.h +++ b/src/win32/sigaction/sigaction.h @@ -1,28 +1,28 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. * Based on the original code of Services by Andy Church. */ - - #define sigemptyset(x) memset((x), 0, sizeof(*(x))) - - #ifndef SIGHUP - # define SIGHUP -1 - #endif - #ifndef SIGPIPE - # define SIGPIPE -1 - #endif - - struct sigaction - { + +#define sigemptyset(x) memset((x), 0, sizeof(*(x))) + +#ifndef SIGHUP +# define SIGHUP -1 +#endif +#ifndef SIGPIPE +# define SIGPIPE -1 +#endif + +struct sigaction +{ void (*sa_handler)(int); int sa_flags; int sa_mask; - }; - - extern int sigaction(int, struct sigaction *, struct sigaction *); - +}; + +extern int sigaction(int, struct sigaction *, struct sigaction *); diff --git a/src/win32/socket.cpp b/src/win32/socket.cpp index 211999f9a..489192679 100644 --- a/src/win32/socket.cpp +++ b/src/win32/socket.cpp @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/socket.h b/src/win32/socket.h index d587618a9..a8064589e 100644 --- a/src/win32/socket.h +++ b/src/win32/socket.h @@ -1,6 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2014 Anope Team <team@anope.org> + * (C) 2008-2016 Anope Team + * Contact us at team@anope.org * * Please read COPYING and README for further details. */ diff --git a/src/win32/win32.rc.cmake b/src/win32/win32.rc.cmake index 4cca9d89d..1e86c7e0d 100644 --- a/src/win32/win32.rc.cmake +++ b/src/win32/win32.rc.cmake @@ -54,7 +54,7 @@ BEGIN VALUE "FileDescription", "Anope IRC Services" VALUE "FileVersion", "@VERSION_FULL@" VALUE "InternalName", "Anope" - VALUE "LegalCopyright", "Copyright (C) 2003-2014 Anope Team" + VALUE "LegalCopyright", "Copyright (C) 2003-2016 Anope Team" VALUE "OriginalFilename", "anope.exe" VALUE "ProductName", "Anope" VALUE "ProductVersion", "@VERSION_DOTTED@" diff --git a/src/win32/windows.cpp b/src/win32/windows.cpp index 997260581..ac6801cba 100644 --- a/src/win32/windows.cpp +++ b/src/win32/windows.cpp @@ -1,7 +1,7 @@ - /* POSIX emulation layer for Windows. +/* POSIX emulation layer for Windows. * - * Copyright (C) 2008-2011 Robin Burchell <w00t@inspircd.org> - * Copyright (C) 2008-2014 Anope Team <info@anope.org> + * (C) 2008-2011 Robin Burchell <w00t@inspircd.org> + * (C) 2008-2016 Anope Team <team@anope.org> * * Please read COPYING and README for further details. * |