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
6fd0d171
Commit
6fd0d171
authored
Mar 04, 2002
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-replaced setenv with putenv -fixed a bug in gtk.
parent
1eb6c844
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
plugins/dvd/input_dvd.c
plugins/dvd/input_dvd.c
+7
-2
plugins/gtk/gtk_open.c
plugins/gtk/gtk_open.c
+1
-2
No files found.
plugins/dvd/input_dvd.c
View file @
6fd0d171
...
...
@@ -8,7 +8,7 @@
* -dvd_udf to find files
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: input_dvd.c,v 1.12
7 2002/03/04 01:53:56
stef Exp $
* $Id: input_dvd.c,v 1.12
8 2002/03/04 02:26:23
stef Exp $
*
* Author: Stphane Borel <stef@via.ecp.fr>
*
...
...
@@ -372,7 +372,12 @@ static int DVDOpen( struct input_thread_s *p_input )
{
if
(
*
psz_raw
)
{
setenv
(
"DVDCSS_RAW_DEVICE"
,
psz_raw
,
1
);
char
*
psz_env
;
psz_env
=
malloc
(
strlen
(
"DVDCSS_RAW_DEVICE="
)
+
strlen
(
psz_raw
)
+
1
);
sprintf
(
psz_env
,
"DVDCSS_RAW_DEVICE=%s"
,
psz_raw
);
fprintf
(
stderr
,
"%s
\n
"
,
psz_env
);
putenv
(
psz_env
);
}
else
{
...
...
plugins/gtk/gtk_open.c
View file @
6fd0d171
...
...
@@ -2,7 +2,7 @@
* gtk_open.c : functions to handle file/disc/network open widgets.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: gtk_open.c,v 1.1
7 2002/03/04 01:53:56
stef Exp $
* $Id: gtk_open.c,v 1.1
8 2002/03/04 02:26:23
stef Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -201,7 +201,6 @@ void GtkDiscOpenOk( GtkButton * button, gpointer user_data )
else
{
intf_ErrMsg
(
"intf error: unknown disc type toggle button position"
);
free
(
psz_source
);
return
;
}
...
...
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