/[hurd]/hurd/term/munge.c
ViewVC logotype

Diff of /hurd/term/munge.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by tb, Mon Mar 1 14:28:16 1999 UTC revision 1.11 by roland, Tue Dec 18 04:05:42 2001 UTC
# Line 135  output_width (int c, int loc) Line 135  output_width (int c, int loc)
135        int n = loc + 1;        int n = loc + 1;
136        while (n % 8)        while (n % 8)
137          n++;          n++;
138        return n - loc;        return n - loc;
139      }      }
140    if ((c >= ' ') && (c < '\177'))    if ((c >= ' ') && (c < '\177'))
141      return 1;      return 1;
# Line 405  input_character (int c) Line 405  input_character (int c)
405            else            else
406              {              {
407                drop_output ();                drop_output ();
408                  poutput (cc[VDISCARD]);
409                termflags |= FLUSH_OUTPUT;                termflags |= FLUSH_OUTPUT;
410              }              }
411              goto alldone;
412          }          }
413      }      }
414    
# Line 714  create_queue (int size, int lowat, int h Line 716  create_queue (int size, int lowat, int h
716    
717    q = malloc (sizeof (struct queue) + size * sizeof (quoted_char));    q = malloc (sizeof (struct queue) + size * sizeof (quoted_char));
718    assert (q);    assert (q);
719      
720    q->susp = 0;    q->susp = 0;
721    q->lowat = lowat;    q->lowat = lowat;
722    q->hiwat = hiwat;    q->hiwat = hiwat;
# Line 722  create_queue (int size, int lowat, int h Line 724  create_queue (int size, int lowat, int h
724    q->arraylen = size;    q->arraylen = size;
725    q->wait = malloc (sizeof (struct condition));    q->wait = malloc (sizeof (struct condition));
726    assert (q->wait);    assert (q->wait);
727      
728    condition_init (q->wait);    condition_init (q->wait);
729    return q;    return q;
730  }  }

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26