Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc
Commits
c31e9c37
Commit
c31e9c37
authored
Aug 14, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set LC_NUMERIC to C once and for all.
parent
8fcd56ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
src/libvlc.c
src/libvlc.c
+1
-0
src/misc/configuration.c
src/misc/configuration.c
+0
-4
No files found.
src/libvlc.c
View file @
c31e9c37
...
@@ -1920,6 +1920,7 @@ static void SetLanguage ( char const *psz_lang )
...
@@ -1920,6 +1920,7 @@ static void SetLanguage ( char const *psz_lang )
setlocale
(
LC_ALL
,
psz_lang
);
setlocale
(
LC_ALL
,
psz_lang
);
setlocale
(
LC_NUMERIC
,
"C"
);
setlocale
(
LC_NUMERIC
,
"C"
);
}
}
setlocale
(
LC_ALL
,
"C"
);
/* Specify where to find the locales for current domain */
/* Specify where to find the locales for current domain */
#if !defined( SYS_DARWIN ) && !defined( WIN32 ) && !defined( SYS_BEOS )
#if !defined( SYS_DARWIN ) && !defined( WIN32 ) && !defined( SYS_BEOS )
...
...
src/misc/configuration.c
View file @
c31e9c37
...
@@ -758,8 +758,6 @@ int __config_LoadConfigFile( vlc_object_t *p_this, const char *psz_module_name )
...
@@ -758,8 +758,6 @@ int __config_LoadConfigFile( vlc_object_t *p_this, const char *psz_module_name )
char
*
psz_filename
,
*
psz_homedir
,
*
psz_configfile
;
char
*
psz_filename
,
*
psz_homedir
,
*
psz_configfile
;
int
i_index
;
int
i_index
;
setlocale
(
LC_NUMERIC
,
"C"
);
psz_configfile
=
p_this
->
p_vlc
->
psz_configfile
;
psz_configfile
=
p_this
->
p_vlc
->
psz_configfile
;
if
(
!
psz_configfile
||
!
psz_configfile
)
if
(
!
psz_configfile
||
!
psz_configfile
)
{
{
...
@@ -1028,8 +1026,6 @@ int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
...
@@ -1028,8 +1026,6 @@ int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
char
*
psz_filename
,
*
psz_homedir
,
*
psz_configfile
;
char
*
psz_filename
,
*
psz_homedir
,
*
psz_configfile
;
int
i_index
;
int
i_index
;
setlocale
(
LC_NUMERIC
,
"C"
);
/* Acquire config file lock */
/* Acquire config file lock */
vlc_mutex_lock
(
&
p_this
->
p_vlc
->
config_lock
);
vlc_mutex_lock
(
&
p_this
->
p_vlc
->
config_lock
);
...
...
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