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
f8fbd684
Commit
f8fbd684
authored
Jun 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_pthread_fatal: fix error message
The error message was overriden to "Illegal seek"
parent
02fac428
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/misc/threads.c
src/misc/threads.c
+2
-3
No files found.
src/misc/threads.c
View file @
f8fbd684
...
...
@@ -101,14 +101,13 @@ void vlc_pthread_fatal (const char *action, int error,
{
fprintf
(
stderr
,
"LibVLC fatal error %s in thread %lu at %s:%u: %d
\n
"
,
action
,
vlc_threadid
(),
file
,
line
,
error
);
fflush
(
stderr
);
/* Sometimes strerror_r() crashes too, so make sure we print an error
* message before we invoke it */
#ifdef __GLIBC__
/* Avoid the strerror_r() prototype brain damage in glibc */
errno
=
error
;
dprintf
(
2
,
" Error message: %m at:
\n
"
);
fprintf
(
stderr
,
" Error message: %m at:
\n
"
);
#else
char
buf
[
1000
];
const
char
*
msg
;
...
...
@@ -126,8 +125,8 @@ void vlc_pthread_fatal (const char *action, int error,
break
;
}
fprintf
(
stderr
,
" Error message: %s
\n
"
,
msg
);
fflush
(
stderr
);
#endif
fflush
(
stderr
);
#ifdef HAVE_BACKTRACE
void
*
stack
[
20
];
...
...
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