Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b351b0f1
Commit
b351b0f1
authored
Jul 05, 2007
by
bar@mysql.com/bar.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Printing copyright into ctype-extra.c
parent
b5d8c6bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
strings/conf_to_src.c
strings/conf_to_src.c
+23
-0
strings/ctype-extra.c
strings/ctype-extra.c
+2
-1
No files found.
strings/conf_to_src.c
View file @
b351b0f1
...
@@ -243,6 +243,28 @@ void dispcset(FILE *f,CHARSET_INFO *cs)
...
@@ -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
int
main
(
int
argc
,
char
**
argv
__attribute__
((
unused
)))
main
(
int
argc
,
char
**
argv
__attribute__
((
unused
)))
{
{
...
@@ -283,6 +305,7 @@ main(int argc, char **argv __attribute__((unused)))
...
@@ -283,6 +305,7 @@ main(int argc, char **argv __attribute__((unused)))
"directory:
\n
"
);
"directory:
\n
"
);
fprintf
(
f
,
" ./conf_to_src ../sql/share/charsets/ > FILE
\n
"
);
fprintf
(
f
,
" ./conf_to_src ../sql/share/charsets/ > FILE
\n
"
);
fprintf
(
f
,
"*/
\n\n
"
);
fprintf
(
f
,
"*/
\n\n
"
);
fprint_copyright
(
f
);
fprintf
(
f
,
"#include <my_global.h>
\n
"
);
fprintf
(
f
,
"#include <my_global.h>
\n
"
);
fprintf
(
f
,
"#include <m_ctype.h>
\n\n
"
);
fprintf
(
f
,
"#include <m_ctype.h>
\n\n
"
);
...
...
strings/ctype-extra.c
View file @
b351b0f1
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
To re-generate, run the following in the strings/ directory:
To re-generate, run the following in the strings/ directory:
./conf_to_src ../sql/share/charsets/ > FILE
./conf_to_src ../sql/share/charsets/ > FILE
*/
*/
/* Copyright (C) 2000-2003 MySQL AB
/* Copyright (C) 2000-2007 MySQL AB
This program is free software; you can redistribute it and/or modify
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
it under the terms of the GNU General Public License as published by
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment