Changeset c510a7 for pcp/src/wannier.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/wannier.c

    r307fd1 rc510a7  
    18751875 
    18761876  if (P->Par.me_comm_ST == 0) {
    1877     tagname = (char *) Malloc(sizeof(char)*255, "ParseWannierFile: *tagname");
     1877    tagname = (char *) Malloc(sizeof(char)*MAXSTRINGSIZE, "ParseWannierFile: *tagname");
    18781878    if(!OpenFile(P, &SpreadFile, suffix, "r", P->Call.out[ReadOut])) { // check if file exists
    18791879      if (MPI_Bcast(&signal,1,MPI_INT,0,P->Par.comm_ST) != MPI_SUCCESS)
Note: See TracChangeset for help on using the changeset viewer.