Module Name:    src
Committed By:   martin
Date:           Thu Jul 12 14:58:23 UTC 2018

Modified Files:
        src/usr.bin/printf [netbsd-7-1]: printf.c

Log Message:
Pull up following revision(s) (requested by kre in ticket #1619):

        usr.bin/printf/printf.c: revision 1.37-1.39

fix some error handling.

>From leot@ on tech-userlevel:
Avoid running off into oblivion when a format string,
or arg to a %b conversion ends in an unescaped backslash.

Patch from Leo slightly modified by me.

Avoid printing error messages twice when an invalid
escape sequence (\ sequence) is present in an arg to a %b
conversion.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.36.12.1 src/usr.bin/printf/printf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to