diff options
author | unknown <bar@bar.myoffice.izhnet.ru> | 2007-07-05 11:38:58 +0500 |
---|---|---|
committer | unknown <bar@bar.myoffice.izhnet.ru> | 2007-07-05 11:38:58 +0500 |
commit | 31d750bf8815896bdbcaa7cd24c039e4b5433bb4 (patch) | |
tree | f78192d35bed22db9d63e63bcd6fe81f7a0840e5 /strings | |
parent | 3598eca60fdf91d1c2fa4369db472800bb3a340e (diff) | |
parent | 32bdbc6d853a2e1615bcae7e9bd7044a3ae934fc (diff) | |
download | mariadb-git-31d750bf8815896bdbcaa7cd24c039e4b5433bb4.tar.gz |
Merge mysql.com:/home/bar/mysql-work/mysql-5.0-rpl
into mysql.com:/home/bar/mysql-work/mysql-5.1-new-rpl
strings/conf_to_src.c:
Auto merged
strings/ctype-extra.c:
After merge fix
Diffstat (limited to 'strings')
-rw-r--r-- | strings/conf_to_src.c | 23 | ||||
-rw-r--r-- | strings/ctype-extra.c | 15 |
2 files changed, 38 insertions, 0 deletions
diff --git a/strings/conf_to_src.c b/strings/conf_to_src.c index e2ac9846c85..75776d5e6d0 100644 --- a/strings/conf_to_src.c +++ b/strings/conf_to_src.c @@ -243,6 +243,28 @@ void dispcset(FILE *f,CHARSET_INFO *cs) } +static void +fprint_copyright(FILE *file) +{ + fprintf(file, +"/* Copyright (C) 2000-2007 MySQL AB\n" +"\n" +" This program is free software; you can redistribute it and/or modify\n" +" it under the terms of the GNU General Public License as published by\n" +" the Free Software Foundation; version 2 of the License.\n" +"\n" +" This program is distributed in the hope that it will be useful,\n" +" but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +" GNU General Public License for more details.\n" +"\n" +" You should have received a copy of the GNU General Public License\n" +" along with this program; if not, write to the Free Software\n" +" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */\n" +"\n"); +} + + int main(int argc, char **argv __attribute__((unused))) { @@ -283,6 +305,7 @@ main(int argc, char **argv __attribute__((unused))) "directory:\n"); fprintf(f, " ./conf_to_src ../sql/share/charsets/ > FILE\n"); fprintf(f, "*/\n\n"); + fprint_copyright(f); fprintf(f,"#include <my_global.h>\n"); fprintf(f,"#include <m_ctype.h>\n\n"); diff --git a/strings/ctype-extra.c b/strings/ctype-extra.c index 96c7cb17d84..6d595af51ae 100644 --- a/strings/ctype-extra.c +++ b/strings/ctype-extra.c @@ -6,6 +6,21 @@ ./conf_to_src ../sql/share/charsets/ > FILE */ +/* Copyright (C) 2000-2007 MySQL AB + + 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ + #include <my_global.h> #include <m_ctype.h> |