0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/gnupg/mkdefsinc.c.patch.ondevice
2021-12-28 00:16:34 +01:00

14 lines
489 B
Plaintext

--- ./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 @@
}
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;
}