[comp.windows.x] R3 bug on color sun

jdi@sparky.UUCP (John Irwin) (11/01/88)

Here's a fix to the "small botch" I mentioned in my rather botched
attempt to congratulate the nice people in the X Consortium
responsible for R3.  (blush)

The problem was that the server didn't accept the "-mono" argument,
which makes R3 pretty useless on a color sun.

No progress yet on the core dump.  If anyone else has the Xsun server
dump core, and an adb backtrace shows the death occured in sunSaveAreas
please send me a note to help track it down.

	-- John


*** /tmp/,RCSt1a01642	Mon Oct 31 22:40:33 1988
--- server/ddx/sun/sunIo.c	Fri Oct 28 00:40:15 1988
***************
*** 350,355
  	if (++i >= argc) UseMsg ();
  	return 2;
      }
      return 0;
  }
  

--- 350,358 -----
  	if (++i >= argc) UseMsg ();
  	return 2;
      }
+     if (strcmp (argv[i], "-mono") == 0) {	/* -mono */
+ 	return 1;
+     }
      return 0;
  }