TiMidity++ 改造版 (Windows 専用)
リビジョン | 592b790b9e08fe565ed35fb4dc9db9394c3826df (tree) |
---|---|
日時 | 2011-12-04 01:00:04 |
作者 | Shoichi Tamuki <tamuki@line...> |
コミッター | Shoichi Tamuki |
[PATCH 16/17] Silence dlsym errors
The way the new dynamic_interface_module() function probes for dynamic
interfaces cause it to always hit a few dlsym errors as soon as you have
more then one dynamic interface, so silence these errors.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
@@ -76,6 +76,11 @@ | ||
76 | 76 | if it were the old version, if that code path where to ever |
77 | 77 | be invoked bad things (tm) would happen. Luckily it is never |
78 | 78 | used, so simply nuke it. (autoreconf by TAMUKI Shoichi) |
79 | + * timidity/dl_dlopen.c: [PATCH 16/17] Silence dlsym errors | |
80 | + The way the new dynamic_interface_module() function probes | |
81 | + for dynamic interfaces cause it to always hit a few dlsym | |
82 | + errors as soon as you have more then one dynamic interface, | |
83 | + so silence these errors. | |
79 | 84 | |
80 | 85 | 2010-09-19 Kentaro Sato <kentaro@ranvis.com> |
81 | 86 |
@@ -72,8 +72,6 @@ void *dl_find_symbol(void *libhandle, char *symbolname) | ||
72 | 72 | #endif |
73 | 73 | |
74 | 74 | RETVAL = dlsym(libhandle, symbolname); |
75 | - if (RETVAL == NULL) | |
76 | - fprintf(stderr, "%s\n", dlerror()); | |
77 | 75 | return RETVAL; |
78 | 76 | } |
79 | 77 |