Skip to content

Commit 59a075e

Browse files
committed
Bump version to v1.0.2
1 parent 1c5f598 commit 59a075e

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Version 1.0.2
2+
3+
* Fixed "Error creating shared memory" issue for FreeBSD.
4+
15
Version 1.0.1
26

37
* Minor portability fixes for compiling on OpenBSD.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.68])
2-
AC_INIT([addrwatch], [1.0.1], [julius.kriukas@gmail.com])
2+
AC_INIT([addrwatch], [1.0.2], [julius.kriukas@gmail.com])
33
AM_INIT_AUTOMAKE([-Wall foreign check-news silent-rules -Werror])
44
AC_CONFIG_SRCDIR([src/addrwatch.c])
55
AM_CONFIG_HEADER([src/config.h])

src/addrwatch.c

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
#include "storage.h"
2323
#include "util.h"
2424

25+
#define STRINGIFY(s) #s
26+
#define STR(s) STRINGIFY(s)
27+
2528
const char *argp_program_version = PACKAGE_STRING;
2629
const char *argp_program_bug_address = PACKAGE_BUGREPORT;
2730
static char args_doc[] = "[INTERFACE1 INTERFACE2 ...]";
@@ -31,15 +34,9 @@ address blacklisting option '-b' can be used multiple times.";
3134

3235
static struct argp_option options[] = { { 0, 0, 0, 0, "Options for data output:", 0 },
3336
{ "shm-log-size", 'L', "NUM", 0,
34-
"Change shared memory log size (default: "
35-
"DEFAULT_SHM_LOG_SIZE"
36-
").",
37-
0 },
37+
"Change shared memory log size (default: " STR(DEFAULT_SHM_LOG_SIZE) ").", 0 },
3838
{ "shm-log-name", 'm', "NUM", 0,
39-
"Change shared memory log name (default: "
40-
"DEFAULT_SHM_LOG_NAME"
41-
").",
42-
0 },
39+
"Change shared memory log name (default: " DEFAULT_SHM_LOG_NAME ").", 0 },
4340

4441
{ "output", 'o', "FILE", 0, "Output data to plain text FILE.", 0 },
4542
{ "quiet", 'q', 0, 0, "Suppress any output to stdout and stderr.", 0 },

0 commit comments

Comments
 (0)