From 1a89d52241dab22f4f8e26712900a9bc689c1083 Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Thu, 21 Feb 2013 22:57:10 -0800 Subject: [PATCH] Now specifies all the parameters open() wants on linux. --- reservoir_sample.c | 2 +- version.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.45.2