Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9ca675f3
Commit
9ca675f3
authored
Oct 04, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/modules_plugin.h.in: More meaningful errors from the OS X dynamic
loader.
parent
580edf4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/misc/modules_plugin.h.in
src/misc/modules_plugin.h.in
+7
-7
No files found.
src/misc/modules_plugin.h.in
View file @
9ca675f3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* modules_plugin.h : Plugin management functions used by the core application.
* modules_plugin.h : Plugin management functions used by the core application.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: modules_plugin.h.in,v 1.1
2 2003/10/04 12:30:53 massiot
Exp $
* $Id: modules_plugin.h.in,v 1.1
3 2003/10/04 15:04:49 sam
Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
...
@@ -50,11 +50,7 @@ static int module_load( const MYCHAR * psz_filename, module_handle_t * handle )
...
@@ -50,11 +50,7 @@ static int module_load( const MYCHAR * psz_filename, module_handle_t * handle )
if( !*handle )
if( !*handle )
{
{
NSLinkEditErrors errors;
return -1;
const char *psz_file, *psz_err;
int i_errnum;
NSLinkEditError( &errors, &i_errnum, &psz_file, &psz_err );
return -1; /* err */
}
}
/* Destroy our image, we won't need it */
/* Destroy our image, we won't need it */
...
@@ -218,7 +214,11 @@ static void * module_getsymbol( module_handle_t handle,
...
@@ -218,7 +214,11 @@ static void * module_getsymbol( module_handle_t handle,
static const char * module_error( char *psz_buffer )
static const char * module_error( char *psz_buffer )
{
{
#if defined(HAVE_DL_DYLD)
#if defined(HAVE_DL_DYLD)
return "failed";
NSLinkEditErrors errors;
const char *psz_file, *psz_err;
int i_errnum;
NSLinkEditError( &errors, &i_errnum, &psz_file, &psz_err );
return psz_err;
#elif defined(HAVE_IMAGE_H)
#elif defined(HAVE_IMAGE_H)
return "failed";
return "failed";
...
...
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