mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 21:43:34 +00:00
Imake %.*s really work. :-(
This commit is contained in:
parent
d400d99c36
commit
ed71c34200
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13501
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)subr_prf.c 8.3 (Berkeley) 1/21/94
|
||||
* $Id: subr_prf.c,v 1.23 1996/01/18 10:23:02 phk Exp $
|
||||
* $Id: subr_prf.c,v 1.24 1996/01/19 11:38:18 phk Exp $
|
||||
*/
|
||||
|
||||
#include "opt_ddb.h"
|
||||
@ -466,10 +466,14 @@ reswitch: switch (ch = *(u_char *)fmt++) {
|
||||
PCHAR(ch);
|
||||
break;
|
||||
case '*':
|
||||
width = va_arg(ap, int);
|
||||
if (width < 0) {
|
||||
ladjust = !ladjust;
|
||||
width = -width;
|
||||
if (!dot) {
|
||||
width = va_arg(ap, int);
|
||||
if (width < 0) {
|
||||
ladjust = !ladjust;
|
||||
width = -width;
|
||||
}
|
||||
} else {
|
||||
dwidth = va_arg(ap, int);
|
||||
}
|
||||
goto reswitch;
|
||||
case '0':
|
||||
|
Loading…
Reference in New Issue
Block a user