[repo.or.cz] gfxprim.git branch master updated: d87921f9670a726993a5bfd756e3ae09a3ba83ed
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git. The branch, master has been updated via d87921f9670a726993a5bfd756e3ae09a3ba83ed (commit) from 75851e6234cc1c67c2c0bf730ef434ebf43227fe (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/d87921f9670a726993a5bfd756e3ae09a3ba8... commit d87921f9670a726993a5bfd756e3ae09a3ba83ed Author: Cyril Hrubis <metan@ucw.cz> Date: Thu Nov 22 17:38:24 2012 +0100 loaders: Avoid further work when loader issued ENOSYS. diff --git a/libs/loaders/GP_Loader.c b/libs/loaders/GP_Loader.c index 3d626a6..4966757 100644 --- a/libs/loaders/GP_Loader.c +++ b/libs/loaders/GP_Loader.c @@ -255,6 +255,13 @@ GP_Context *GP_LoadImage(const char *src_path, GP_ProgressCallback *callback) return img; } + /* + * Avoid further work if signature was correct but the loader issued + * ENOSYS. + */ + if (errno == ENOSYS) + return NULL; + sig_load = loader_by_signature(src_path); if (ext_load && sig_load) { ----------------------------------------------------------------------- Summary of changes: libs/loaders/GP_Loader.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply. -- gfxprim.git ("A simple 2D graphics library with emphasis on correctness and well-defined operation.")
participants (1)
-
metan