search for: defprogramming

Displaying 1 result from an estimated 1 matches for "defprogramming".

2014 May 22
0
[PATCH] openssh - loginrec.c - Non-atomic file operations.
Hi all. I rewrited lastlog_openseek function. Now is little more atomic when file operations on lastlog file happens. For more details why separate stat and open isn't so safe please take a look at: http://www.akkadia.org/drepper/defprogramming.pdf Have nice day Robin Hack -------------- next part -------------- diff --git a/loginrec.c b/loginrec.c index 4219b9a..281d650 100644 --- a/loginrec.c +++ b/loginrec.c @@ -163,6 +163,7 @@ #include <string.h> #include <time.h> #include <unistd.h> +#include <dirent.h>...