diff --git a/file_2168.txt b/file_2168.txt deleted file mode 100644 index 26e06257e43305476f57e89bc34c239d1ef1d3bd..0000000000000000000000000000000000000000 --- a/file_2168.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- slurm-llnl-15.08.4.orig/src/sacct/options.c -+++ slurm-llnl-15.08.4/src/sacct/options.c -@@ -320,7 +320,7 @@ - -j, --jobs: \n\ - Format is <job(.step)>. Display information about this \n\ - job or comma-separated list of jobs. The default is all \n\ -- jobs. Adding .step will display the specfic job step of \n\ -+ jobs. Adding .step will display the specific job step of \n\ - that job. (A step id of 'batch' will display the \n\ - information about the batch step.) \n\ - -k, --timelimit-min: \n\ diff --git a/src/common/xlua.c b/src/common/xlua.c index 66d48d9d7a28cd30aaad2232c7bfe5063eda2361..5d0ba5dc4df822f676c84de1dbfd386edcfe0833 100644 --- a/src/common/xlua.c +++ b/src/common/xlua.c @@ -47,20 +47,20 @@ int xlua_dlopen(void) * ensure symbols from liblua are available to libs opened * by any lua scripts. */ - if ( #ifdef HAVE_LUA_5_2 - !dlopen("liblua-5.2.so", RTLD_NOW | RTLD_GLOBAL) && - !dlopen("liblua5.2.so", RTLD_NOW | RTLD_GLOBAL) && - !dlopen("liblua5.2.so.0", RTLD_NOW | RTLD_GLOBAL) + if (!dlopen("liblua-5.2.so", RTLD_NOW | RTLD_GLOBAL) + && !dlopen("liblua5.2.so", RTLD_NOW | RTLD_GLOBAL) + && !dlopen("liblua5.2.so.0", RTLD_NOW | RTLD_GLOBAL)) { + error("Failed to open liblua.so: %s", dlerror()); + return SLURM_ERROR; + } #elif HAVE_LUA_5_1 - !dlopen("liblua-5.1.so", RTLD_NOW | RTLD_GLOBAL) && - !dlopen("liblua5.1.so", RTLD_NOW | RTLD_GLOBAL) && - !dlopen("liblua5.1.so.0", RTLD_NOW | RTLD_GLOBAL) -#endif - ) { + if (!dlopen("liblua-5.1.so", RTLD_NOW | RTLD_GLOBAL) + && !dlopen("liblua5.1.so", RTLD_NOW | RTLD_GLOBAL) + && !dlopen("liblua5.1.so.0", RTLD_NOW | RTLD_GLOBAL) { error("Failed to open liblua.so: %s", dlerror()); return SLURM_ERROR; } - +#endif return SLURM_SUCCESS; }