Codebase list mksh / debian/latest
printf.c was updated to match mirabilos authored 2 years ago mirabilos committed 2 years ago
2 changed file(s) with 6 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
1212 - [tg] improve compile-time checks and run more but not redundant ones
1313 - [tg] With much rejoicing remove the warning introduced in 59c-15
1414 again as it was thankfully rejected, at POSIX level
15
16 -- Thorsten Glaser <tg@mirbsd.de> Mon, 25 Apr 2022 03:26:19 +0200
15 * Update to matching printf.c
16
17 -- Thorsten Glaser <tg@mirbsd.de> Mon, 25 Apr 2022 04:01:35 +0200
1718
1819 mksh (59c-16) unstable; urgency=medium
1920
4848 #define vstrchr strchr
4949 #endif
5050
51 __RCSID("$MirOS: src/usr.bin/printf/printf.c,v 1.24 2021/11/21 03:47:51 tg Exp $");
51 __RCSID("$MirOS: src/usr.bin/printf/printf.c,v 1.25 2022/02/19 21:22:04 tg Exp $");
5252
5353 static int print_escape_str(const char *);
5454 static int print_escape(const char *);
327327 if (*str == '\\') {
328328 #ifdef MKSH_PRINTF_BUILTIN
329329 s_ptr = str + 1;
330 c = unbksl(false, s_get, s_put);
330 c = unbksl(Nee, s_get, s_put);
331331 str = s_ptr;
332332 if (c == -1) {
333333 if ((c = *str++) == 'c')
382382 int c;
383383
384384 s_ptr = str + 1;
385 c = unbksl(true, s_get, s_put);
385 c = unbksl(Ja, s_get, s_put);
386386 if (c == -1) {
387387 s_ptr = str + 1;
388388 switch ((c = *s_ptr++)) {