ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/io/DumpWriter.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/io/DumpWriter.cpp (file contents):
Revision 1828 by tim, Thu Dec 2 04:55:10 2004 UTC vs.
Revision 1829 by tim, Thu Dec 2 05:14:58 2004 UTC

# Line 478 | Line 478 | void DumpWriter::writeFrame(std::ostream& os) {
478  
479                      strncpy(MPIatomTypeString, atomTypeString, MINIBUFFERSIZE);
480  
481 <                    // null terminate the  std::stringbefore sending (just in case):
481 >                    // null terminate the  std::string before sending (just in case):
482                      MPIatomTypeString[MINIBUFFERSIZE - 1] = '\0';
483  
484                      MPI_Send(MPIatomTypeString, MINIBUFFERSIZE, MPI_CHAR, 0,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines