diff options
author | Ingo Huerner <ingo_huerner@mentor.com> | 2017-03-07 10:32:32 +0100 |
---|---|---|
committer | Ingo Huerner <ingo_huerner@mentor.com> | 2017-03-07 10:32:32 +0100 |
commit | 0c7939b0c1725224ff85827a8e44eb1e23dcd40b (patch) | |
tree | a79419fc4eceb91d78862f76aee9191a8216561a /tools | |
parent | e88cdcdee8aa92d62b6a77ed1e938afb107229f4 (diff) | |
download | persistence-client-library-0c7939b0c1725224ff85827a8e44eb1e23dcd40b.tar.gz |
Added pclCustomLibConfigFileTest.cfg.in config file for tests.
Removed in pclCustomLibConfigFile.cfg.in entries for test plugins.
Replaced sync call by syncfs (process_prepare_shutdown function).
Removed some unnecessary close calls (findings static code analysis tool).
Diffstat (limited to 'tools')
-rw-r--r-- | tools/persistence_client_tool.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/persistence_client_tool.c b/tools/persistence_client_tool.c index fdd2562..80a267a 100644 --- a/tools/persistence_client_tool.c +++ b/tools/persistence_client_tool.c @@ -362,7 +362,7 @@ int main(int argc, char *argv[]) { printf("Application name: %s\n", appName); - int shutdownReg = PCL_SHUTDOWN_TYPE_FAST | PCL_SHUTDOWN_TYPE_NORMAL; + int shutdownReg = PCL_SHUTDOWN_TYPE_NONE; (void)pclInitLibrary(appName, shutdownReg); switch(opMode) @@ -435,6 +435,8 @@ int main(int argc, char *argv[]) free(fileName); + pclLifecycleSet(PCL_SHUTDOWN); + pclDeinitLibrary(); } else |