--- ray/src/util/xglaresrc.c 1993/04/29 12:58:20 2.5 +++ ray/src/util/xglaresrc.c 2003/11/11 16:24:06 2.8 @@ -1,9 +1,6 @@ -/* Copyright (c) 1991 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: xglaresrc.c,v 2.8 2003/11/11 16:24:06 greg Exp $"; #endif - /* * Circle sources in a displayed image. * @@ -12,8 +9,6 @@ static char SCCSid[] = "$SunId$ LBL"; #include "standard.h" #include "view.h" -#include "resolu.h" -#include "vfork.h" #include #include #include @@ -121,7 +116,7 @@ char *pname, *wname; exit(2); } /* start ximage */ - if (vfork() == 0) { + if (fork() == 0) { execlp(XIM, XIM, "-c", "256", pname, 0); perror(XIM); fprintf(stderr, "%s: cannot start %s\n", @@ -142,7 +137,7 @@ char *pname, *wname; fprintf(stderr, "%s: warning -- window seems to be the wrong size!\n", progname); - if (pres.or & YMAJOR) { + if (pres.rt & YMAJOR) { pres.xr = wa.width; pres.yr = wa.height; } else {