This commit is contained in:
Ito Hiroyuki
2010-12-21 10:13:55 +00:00
parent d15494241a
commit 40feb310a3
16 changed files with 3000 additions and 846 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: w3mimg.c,v 1.5 2002/11/06 03:50:49 ukai Exp $ */
/* $Id: w3mimg.c,v 1.6 2010/12/21 10:13:55 htrb Exp $ */
#include <stdio.h>
#include <stdlib.h>
@@ -14,6 +14,10 @@ w3mimg_open()
uid_t runner_uid = getuid();
uid_t owner_uid = geteuid();
#endif
#ifdef USE_W3MIMG_WIN
if (w_op == NULL)
w_op = w3mimg_winopen();
#endif
#ifdef USE_W3MIMG_X11
#ifdef W3MIMGDISPLAY_SETUID
/* run in user privileges */