[BACK]Return to strings.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mail

Diff for /src/usr.bin/mail/strings.c between version 1.3 and 1.4

version 1.3, 1997/07/13 21:21:17 version 1.4, 1997/07/13 23:54:02
Line 85 
Line 85 
                 panic("String too large");                  panic("String too large");
         if (sp->s_topFree == NOSTR) {          if (sp->s_topFree == NOSTR) {
                 index = sp - &stringdope[0];                  index = sp - &stringdope[0];
                 sp->s_topFree = malloc(STRINGSIZE << index);                  sp->s_topFree = (char *)malloc(STRINGSIZE << index);
                 if (sp->s_topFree == NOSTR) {                  if (sp->s_topFree == NOSTR) {
                         fprintf(stderr, "No room for space %d\n", index);                          fprintf(stderr, "No room for space %d\n", index);
                         panic("Internal error");                          panic("Internal error");

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4