From: John L. <mov...@us...> - 2003-09-24 21:25:24
|
Update of /cvsroot/oprofile/oprofile/libabi In directory sc8-pr-cvs1:/tmp/cvs-serv30752/libabi Modified Files: abi_test.cpp op_import.cpp Log Message: big commit: the oprofiled rewrite. See changelog for details. Woo, et cetera. Index: abi_test.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libabi/abi_test.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -u -p -d -r1.13 -r1.14 --- abi_test.cpp 17 Sep 2003 23:55:58 -0000 1.13 +++ abi_test.cpp 24 Sep 2003 21:21:18 -0000 1.14 @@ -55,7 +55,7 @@ int main(int argc, char const ** argv) int rc = odb_open(&dest, db_filename.c_str(), ODB_RDWR, sizeof(struct opd_header)); - if (rc != EXIT_SUCCESS) { + if (rc) { cerr << "odb_open() fail:\n" << dest.err_msg << endl; exit(EXIT_FAILURE); Index: op_import.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libabi/op_import.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -u -p -d -r1.18 -r1.19 --- op_import.cpp 17 Sep 2003 23:55:58 -0000 1.18 +++ op_import.cpp 24 Sep 2003 21:21:18 -0000 1.19 @@ -198,7 +198,7 @@ int main(int argc, char const ** argv) rc = odb_open(&dest, output_filename.c_str(), ODB_RDWR, sizeof(struct opd_header)); - if (rc != EXIT_SUCCESS) { + if (rc) { cerr << "odb_open() fail:\n" << dest.err_msg << endl; exit(EXIT_FAILURE); |