collect.c (1591) | collect.c (29574) |
---|---|
1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 509 unchanged lines hidden (view full) --- 518 519 msgvec = (int *) salloc((msgCount+1) * sizeof *msgvec); 520 if (msgvec == (int *) NOSTR) 521 return(0); 522 if (getmsglist(ms, msgvec, 0) < 0) 523 return(0); 524 if (*msgvec == 0) { 525 *msgvec = first(0, MMNORM); | 1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 509 unchanged lines hidden (view full) --- 518 519 msgvec = (int *) salloc((msgCount+1) * sizeof *msgvec); 520 if (msgvec == (int *) NOSTR) 521 return(0); 522 if (getmsglist(ms, msgvec, 0) < 0) 523 return(0); 524 if (*msgvec == 0) { 525 *msgvec = first(0, MMNORM); |
526 if (*msgvec == NULL) { | 526 if (*msgvec == 0) { |
527 printf("No appropriate messages\n"); 528 return(0); 529 } | 527 printf("No appropriate messages\n"); 528 return(0); 529 } |
530 msgvec[1] = NULL; | 530 msgvec[1] = 0; |
531 } 532 if (f == 'f' || f == 'F') 533 tabst = NOSTR; 534 else if ((tabst = value("indentprefix")) == NOSTR) 535 tabst = "\t"; 536 ig = isupper(f) ? NULL : ignore; 537 printf("Interpolating:"); 538 for (; *msgvec != 0; msgvec++) { --- 97 unchanged lines hidden --- | 531 } 532 if (f == 'f' || f == 'F') 533 tabst = NOSTR; 534 else if ((tabst = value("indentprefix")) == NOSTR) 535 tabst = "\t"; 536 ig = isupper(f) ? NULL : ignore; 537 printf("Interpolating:"); 538 for (; *msgvec != 0; msgvec++) { --- 97 unchanged lines hidden --- |