14 lines
489 B
Plaintext
14 lines
489 B
Plaintext
|
--- ./doc/mkdefsinc.c.orig 2021-09-01 10:39:31.217492425 +0200
|
||
|
+++ ./doc/mkdefsinc.c 2021-09-01 10:41:07.165492356 +0200
|
||
|
@@ -290,8 +290,8 @@
|
||
|
}
|
||
|
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;
|
||
|
}
|