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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8a74ba24
Commit
8a74ba24
authored
Feb 06, 2012
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merged mysql-5.0->mysql-5.0-security
parents
14bb9ca1
882ef63e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
mysys/my_init.c
mysys/my_init.c
+6
-4
No files found.
mysys/my_init.c
View file @
8a74ba24
...
@@ -77,16 +77,18 @@ my_bool my_init(void)
...
@@ -77,16 +77,18 @@ my_bool my_init(void)
mysys_usage_id
++
;
mysys_usage_id
++
;
my_umask
=
0660
;
/* Default umask for new files */
my_umask
=
0660
;
/* Default umask for new files */
my_umask_dir
=
0700
;
/* Default umask for new directories */
my_umask_dir
=
0700
;
/* Default umask for new directories */
#if defined(THREAD) && defined(SAFE_MUTEX)
#if defined(THREAD)
if
(
my_thread_global_init
())
return
1
;
#if defined(SAFE_MUTEX)
safe_mutex_global_init
();
/* Must be called early */
safe_mutex_global_init
();
/* Must be called early */
#endif
#endif
/* SAFE_MUTEX */
#endif
/* THREAD */
netware_init
();
netware_init
();
#ifdef THREAD
#ifdef THREAD
#if defined(HAVE_PTHREAD_INIT)
#if defined(HAVE_PTHREAD_INIT)
pthread_init
();
/* Must be called before DBUG_ENTER */
pthread_init
();
/* Must be called before DBUG_ENTER */
#endif
#endif
if
(
my_thread_global_init
())
return
1
;
#if !defined( __WIN__) && !defined(OS2) && !defined(__NETWARE__)
#if !defined( __WIN__) && !defined(OS2) && !defined(__NETWARE__)
sigfillset
(
&
my_signals
);
/* signals blocked by mf_brkhant */
sigfillset
(
&
my_signals
);
/* signals blocked by mf_brkhant */
#endif
#endif
...
...
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