ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/xglaresrc.c
(Generate patch)

Comparing ray/src/util/xglaresrc.c (file contents):
Revision 2.5 by greg, Thu Apr 29 12:58:20 1993 UTC vs.
Revision 2.8 by greg, Tue Nov 11 16:24:06 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1991 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  Circle sources in a displayed image.
6   *
# Line 12 | Line 9 | static char SCCSid[] = "$SunId$ LBL";
9  
10   #include "standard.h"
11   #include "view.h"
15 #include "resolu.h"
16 #include "vfork.h"
12   #include <signal.h>
13   #include <X11/Xlib.h>
14   #include <X11/Xutil.h>
# Line 121 | Line 116 | char   *pname, *wname;
116                          exit(2);
117                  }
118                                          /* start ximage */
119 <                if (vfork() == 0) {
119 >                if (fork() == 0) {
120                          execlp(XIM, XIM, "-c", "256", pname, 0);
121                          perror(XIM);
122                          fprintf(stderr, "%s: cannot start %s\n",
# Line 142 | Line 137 | char   *pname, *wname;
137                  fprintf(stderr,
138                  "%s: warning -- window seems to be the wrong size!\n",
139                                  progname);
140 <                if (pres.or & YMAJOR) {
140 >                if (pres.rt & YMAJOR) {
141                          pres.xr = wa.width;
142                          pres.yr = wa.height;
143                  } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines