Changeset bd86e8 for molecuilder/src/config.cpp
- Timestamp:
- Jul 9, 2009, 11:01:08 AM (16 years ago)
- Children:
- ab7b5e7
- Parents:
- c12297
- git-author:
- Frederik Heber <heber@…> (07/09/09 10:59:00)
- git-committer:
- Frederik Heber <heber@…> (07/09/09 11:01:08)
- File:
-
- 1 edited
-
molecuilder/src/config.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/config.cpp
rc12297 rbd86e8 14 14 { 15 15 mainname = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: mainname"); 16 defaultpath = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: mainname"); 17 pseudopotpath = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: mainname"); 18 configpath = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: mainname"); 19 configname = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: mainname"); 16 defaultpath = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: defaultpath"); 17 pseudopotpath = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: pseudopotpath"); 18 databasepath = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: databasepath"); 19 configpath = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: configpath"); 20 configname = (char *) MallocString(sizeof(char)*MAXSTRINGSIZE,"config constructor: configname"); 20 21 strcpy(mainname,"pcp"); 21 22 strcpy(defaultpath,"not specified"); … … 93 94 Free((void **)&defaultpath, "config::~config: *defaultpath"); 94 95 Free((void **)&pseudopotpath, "config::~config: *pseudopotpath"); 96 Free((void **)&databasepath, "config::~config: *databasepath"); 95 97 Free((void **)&configpath, "config::~config: *configpath"); 96 98 Free((void **)&configname, "config::~config: *configname");
Note:
See TracChangeset
for help on using the changeset viewer.
