=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/size/Attic/size.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/size/Attic/size.c 2003/04/08 00:53:55 1.16 --- src/usr.bin/size/Attic/size.c 2003/04/15 15:54:07 1.17 *************** *** 1,4 **** ! /* $OpenBSD: size.c,v 1.16 2003/04/08 00:53:55 deraadt Exp $ */ /* $NetBSD: size.c,v 1.7 1996/01/14 23:07:12 pk Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: size.c,v 1.17 2003/04/15 15:54:07 deraadt Exp $ */ /* $NetBSD: size.c,v 1.7 1996/01/14 23:07:12 pk Exp $ */ /* *************** *** 44,50 **** #if 0 static char sccsid[] = "@(#)size.c 8.2 (Berkeley) 12/9/93"; #endif ! static char rcsid[] = "$OpenBSD: size.c,v 1.16 2003/04/08 00:53:55 deraadt Exp $"; #endif /* not lint */ #include --- 44,50 ---- #if 0 static char sccsid[] = "@(#)size.c 8.2 (Berkeley) 12/9/93"; #endif ! static char rcsid[] = "$OpenBSD: size.c,v 1.17 2003/04/15 15:54:07 deraadt Exp $"; #endif /* not lint */ #include *************** *** 203,210 **** * on each output line */ p = name; ! if (count > 1) ! p += snprintf(name, baselen - 1, "%s:", fname); #ifdef AR_EFMT1 /* * BSD 4.4 extended AR format: #1/, with name as the --- 203,212 ---- * on each output line */ p = name; ! if (count > 1) { ! snprintf(name, baselen - 1, "%s:", fname); ! p += strlen(name); ! } #ifdef AR_EFMT1 /* * BSD 4.4 extended AR format: #1/, with name as the