ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/interface_implementation/MakeStamps.cpp
(Generate patch)

Comparing trunk/mdtools/interface_implementation/MakeStamps.cpp (file contents):
Revision 11 by mmeineke, Tue Jul 9 18:40:59 2002 UTC vs.
Revision 160 by mmeineke, Wed Oct 30 22:38:22 2002 UTC

# Line 3 | Line 3
3  
4   #include "MakeStamps.hpp"
5   #include "MoleculeStamp.hpp"
6 + #include "simError.h"
7  
8   LinkedMolStamp::~LinkedMolStamp(){
9    if( mol_stamp != NULL ) delete mol_stamp;
# Line 58 | Line 59 | int MakeStamps::hash( char* text ){
59  
60      // if the key is less than zero, we've had an overflow error
61  
62 <    fprintf( stderr,
62 >    sprintf( painCave.errMsg,
63               "There has been an overflow error in the hash key.");
64 <    exit(0);
64 >    painCave.isFatal = 1;
65 >    simError();
66    }
67    
68    return key;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines