File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Description: Intense parallel workloads can be difficult to monitor.
1414 visualize the log file to reveal potential resource-related
1515 reasons for the crash. The 'autometric' package borrows heavily from
1616 the methods of packages 'ps' <doi:10.32614/CRAN.package.ps> and 'psutil'.
17- Version: 0.1.1.9001
17+ Version: 0.1.2
1818License: MIT + file LICENSE
1919URL:
2020 https://wlandau.github.io/autometric/,
Original file line number Diff line number Diff line change 1- # autometric 0.1.1.9001
1+ # autometric 0.1.2
22
33* Plot the last PID by default.
44* Speed up ` log_phase_set() ` .
5+ * Do not overwrite null character in ` strncpy() ` .
56
67# autometric 0.1.1
78
Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ codecov
1717pkgdown
1818CloudWatch
1919SLURM
20+ PID
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ void pthread_phase_reset(void) {
8787
8888void pthread_phase_set (const char * phase ) {
8989 pthread_mutex_lock (& run_mutex );
90- strncpy (run_phase , phase , PHASE_N );
90+ strncpy (run_phase , phase , PHASE_N - 1 );
9191 run_phase [PHASE_N - 1 ] = '\0' ;
9292 pthread_mutex_unlock (& run_mutex );
9393}
Original file line number Diff line number Diff line change 1- #define VERSION "0.1.1.9001 "
1+ #define VERSION "0.1.2 "
You can’t perform that action at this time.
0 commit comments