Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
5dc56030
Commit
5dc56030
authored
Jan 30, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore correct SIGCHLD handling
This affects way too many code paths. Let KDE fix their own crap.
parent
2bc307db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
bin/vlc.c
bin/vlc.c
+5
-6
No files found.
bin/vlc.c
View file @
5dc56030
...
@@ -157,12 +157,11 @@ int main( int i_argc, const char *ppsz_argv[] )
...
@@ -157,12 +157,11 @@ int main( int i_argc, const char *ppsz_argv[] )
sigaddset
(
&
set
,
SIGPIPE
);
sigaddset
(
&
set
,
SIGPIPE
);
/* SIGCHLD must be dequeued to clean up zombie child processes.
/* SIGCHLD must be dequeued to clean up zombie child processes.
* Furthermore the handler must not be set to SIG_IGN (see above). */
* Furthermore the handler must not be set to SIG_IGN (see above).
/* Unfortunately, the QProcess class from Qt4 has a bug. It installs a
* We cannot pragmatically handle EINTR, short reads and short writes
* custom signal handlers and gets stuck if it is not called. So we cannot
* in every code paths (including underlying libraries). So we just
* use sigwait() for SIGCHLD:
* block SIGCHLD in all threads, and dequeue it with sigwait() below. */
* http://bugs.kde.org/show_bug.cgi?id=260719 */
sigaddset
(
&
set
,
SIGCHLD
);
//sigaddset (&set, SIGCHLD);
#ifdef HAVE_MAEMO
#ifdef HAVE_MAEMO
sigaddset
(
&
set
,
SIGRTMIN
);
sigaddset
(
&
set
,
SIGRTMIN
);
...
...
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