From: Justin Wind Date: Fri, 22 Feb 2013 06:57:10 +0000 (-0800) Subject: Now specifies all the parameters open() wants on linux. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1a89d52241dab22f4f8e26712900a9bc689c1083;p=reservoir_sample Now specifies all the parameters open() wants on linux. --- diff --git a/reservoir_sample.c b/reservoir_sample.c index 6745062..1c64f6f 100644 --- a/reservoir_sample.c +++ b/reservoir_sample.c @@ -357,7 +357,7 @@ int main(int argc, char *argv[]) { } if (status_filename) { - options_.status_fd = open(status_filename, O_RDONLY|O_APPEND|O_CREAT); + options_.status_fd = open(status_filename, O_RDONLY|O_APPEND|O_CREAT, 0666); if (options_.status_fd < 0) { NOTIFY_ERROR("could not open status file '%s'", status_filename); exit(EX_OSERR); diff --git a/version.h b/version.h index 9191a86..73e992e 100644 --- a/version.h +++ b/version.h @@ -3,8 +3,8 @@ #define VERSION_MAJOR 1 #define VERSION_MINOR 2 -#define VERSION_EXTRA_STR "" -#define VERSION_STR "1.2" +#define VERSION_EXTRA_STR "1" +#define VERSION_STR "1.2-1" #define VERSION_DATE "2013-02-22" #endif