Changeset c510a7 for pcp/src/pseudo.c


Ignore:
Timestamp:
Apr 29, 2008, 12:19:51 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
e936b3
Parents:
307fd1
Message:

char lengths of 255 and MAXDUMMYSTRING replaced with define MAXSTRINGSIZE in molecuilder and pcp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/pseudo.c

    r307fd1 rc510a7  
    483483  PP->lm_endmax = 0;
    484484  PP->corecorr = NotCoreCorrected;
    485   cpiInputFileName = (char *) Malloc(sizeof(char)*255, "InitPseudoRead: *cpiInputFileName");
     485  cpiInputFileName = (char *) Malloc(sizeof(char)*MAXSTRINGSIZE, "InitPseudoRead: *cpiInputFileName");
    486486  for (it = 0; it < I->Max_Types; it++) {
    487487    PP->lm_end[it] = I->I[it].l_max*I->I[it].l_max+1-2*I->I[it].l_loc;
Note: See TracChangeset for help on using the changeset viewer.