diff options
author | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2010-10-06 19:06:13 +0400 |
---|---|---|
committer | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2010-10-06 19:06:13 +0400 |
commit | 985fa88f8b07743dd3a848c11bc1d93b826d3d62 (patch) | |
tree | 2d57a45745e8d2ae04b3d8167ff5829aeb06a73f /include/welcome_copyright_notice.h | |
parent | 401e6c909caad8f4d43a28d02ef51264d08cab3a (diff) | |
download | mariadb-git-985fa88f8b07743dd3a848c11bc1d93b826d3d62.tar.gz |
Fix for Bug#57094 (Copyright notice incorrect?).
The fix is to:
- introduce ORACLE_WELCOME_COPYRIGHT_NOTICE define to have a single place
to specify copyright notice;
- replace custom copyright notices with ORACLE_WELCOME_COPYRIGHT_NOTICE
in programs.
Diffstat (limited to 'include/welcome_copyright_notice.h')
-rw-r--r-- | include/welcome_copyright_notice.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/welcome_copyright_notice.h b/include/welcome_copyright_notice.h new file mode 100644 index 00000000000..c3ffad1527d --- /dev/null +++ b/include/welcome_copyright_notice.h @@ -0,0 +1,31 @@ +/* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + + 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; version 2 of the License. + + 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, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +#ifndef _welcome_copyright_notice_h_ +#define _welcome_copyright_notice_h_ + +/* + This define specifies copyright notice which is displayed by every MySQL + program on start, or on help screen. +*/ + +#define ORACLE_WELCOME_COPYRIGHT_NOTICE(years) \ + "Copyright (c) " years ", Oracle and/or its affiliates. All rights reserved.\n" \ + "\n" \ + "Oracle is a registered trademark of Oracle Corporation and/or its\n" \ + "affiliates. Other names may be trademarks of their respective\n" \ + "owners.\n" + +#endif /* _welcome_copyright_notice_h_ */ |