cip-pic incompatibility

Doug Gwyn gwyn at brl-smoke.ARPA
Mon Aug 25 08:45:00 AEST 1986


"cip" will put a file that it can't "get".

Workaround for DMD Text+Graphics Release 1.2 or 1.3,
source file cip/pic.c:

writePIC(t,f,b) 
...
{
...
  switch (t->type) {
    case CIRCLE: {
...
      if ( t->otherValues.radius != 0 )	/* DAG -- added */
      fprintf(f,"circle rad %d at %d,%d\n",
...
    case BOX: {
...
      if ( t->bb.corner.x != t->bb.origin.x && t->bb.corner.y != t->bb.origin.y )	/* DAG -- added */
      fprintf(f,"box ht %d wid %d with .nw at %d,%d %s\n",
...
    case ELLIPSE: {
...
      if ( t->otherValues.ellipse.ht != 0 && t->otherValues.ellipse.wid != 0 )	/* DAG -- added */
      fprintf(f,"ellipse ht %d wid %d at %d,%d\n",
...



More information about the Net.bugs.usg mailing list