2021-12-27 23:29:37 +01:00
|
|
|
--- ./doc/mkdefsinc.c.orig 2017-03-17 09:34:37.000000000 +0100
|
|
|
|
+++ ./doc/mkdefsinc.c 2021-12-27 23:14:49.542199850 +0100
|
|
|
|
@@ -286,8 +286,8 @@
|
2021-09-01 10:58:47 +02:00
|
|
|
}
|
|
|
|
n = strlen (opt_date) + strlen (month) + 2 + 1;
|
|
|
|
p = xmalloc (n);
|
|
|
|
- snprintf (p, n, "%d %n%s %d",
|
|
|
|
- atoi (opt_date+8), &monthoff, month, atoi (opt_date));
|
|
|
|
+ snprintf (p, n, "%d %s %d",
|
|
|
|
+ atoi (opt_date+8), month, atoi (opt_date));
|
|
|
|
xfree (opt_date);
|
|
|
|
opt_date = p;
|
|
|
|
}
|