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, generate has been updated via 6e1e8b1958b2ce6686c7d2ba446b7ab907f7ebf1 (commit) from 3e26bede0b9f2319e6f69367ed84be575112022b (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/6e1e8b1958b2ce6686c7d2ba446b7ab907f7e...
commit 6e1e8b1958b2ce6686c7d2ba446b7ab907f7ebf1 Author: Cyril Hrubis metan@ucw.cz Date: Mon Oct 31 22:21:21 2011 +0100
Add sigabort and print image name into stderr.
diff --git a/demos/fbshow/fbshow.c b/demos/fbshow/fbshow.c index d15bdbc..8b399ed 100644 --- a/demos/fbshow/fbshow.c +++ b/demos/fbshow/fbshow.c @@ -69,6 +69,8 @@ static int show_image(GP_Framebuffer *fb, const char *img_path, int clear) { GP_Context *img;
+ fprintf(stderr, "Loading '%s'n", img_path); + if (clear) { char buf[100]; snprintf(buf, sizeof(buf), "Loading '%s'", img_path); @@ -137,6 +139,7 @@ int main(int argc, char *argv[]) signal(SIGINT, sighandler); signal(SIGSEGV, sighandler); signal(SIGBUS, sighandler); + signal(SIGABRT, sighandler);
fb = GP_FramebufferInit("/dev/fb0");
-----------------------------------------------------------------------
Summary of changes: demos/fbshow/fbshow.c | 3 +++ 1 files changed, 3 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.