/[escript]/branches/windows_from_1456_trunk_1580_merged_in/paso/src/Paso_MPI.c
ViewVC logotype

Diff of /branches/windows_from_1456_trunk_1580_merged_in/paso/src/Paso_MPI.c

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

revision 1604 by phornby, Thu Jun 5 09:20:30 2008 UTC revision 1605 by phornby, Sat Jun 14 11:04:53 2008 UTC
# Line 164  int Paso_MPIInfo_initialized( void ) Line 164  int Paso_MPIInfo_initialized( void )
164  }  }
165    
166  /* Append MPI rank to file name if multiple MPI processes */  /* Append MPI rank to file name if multiple MPI processes */
167  char *Paso_MPI_appendRankToFileName(char *fileName, int mpi_size, int mpi_rank) {  char *Paso_MPI_appendRankToFileName(const char *fileName, int mpi_size, int mpi_rank) {
168    /* Make plenty of room for the mpi_rank number and terminating '\0' */    /* Make plenty of room for the mpi_rank number and terminating '\0' */
169    char *newFileName = TMPMEMALLOC(strlen(fileName)+20,char);    char *newFileName = TMPMEMALLOC(strlen(fileName)+20,char);
170    strncpy(newFileName, fileName, strlen(fileName)+1);    strncpy(newFileName, fileName, strlen(fileName)+1);

Legend:
Removed from v.1604  
changed lines
  Added in v.1605

  ViewVC Help
Powered by ViewVC 1.1.26