Problem: xxd: issue when -R is specified several times
Solution: Fix command line parsing
See: https://github.com/vim/vim/pull/12986#issuecomment-
1704375892
closes: #13021
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: K.Takata <kentkt@csc.jp>
Co-authored-by: Aapo Rantalainen <aapo.rantalainen@gmail.com>
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1861,
/**/
1860,
/**/
# endif
#endif
-char version[] = "xxd 2023-09-01 by Juergen Weigert et al.";
+char version[] = "xxd 2023-09-04 by Juergen Weigert et al.";
#ifdef WIN32
char osver[] = " (Win32)";
#else
else if (!STRNCMP(pw, "never", 5))
color = 0;
else if (!STRNCMP(pw, "auto", 4))
- ; /* Do nothing. */
+ color = enable_color();
else
exit_with_usage();
}