Remove an old workaround from SCCS times (%M% would insert the filename).

This commit is contained in:
mbalmer 2009-07-04 13:24:09 +00:00
parent 6face9fc9c
commit bf31e2ab08

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.56 2008/07/20 01:09:07 lukem Exp $ */ /* $NetBSD: main.c,v 1.57 2009/07/04 13:24:09 mbalmer Exp $ */
/*- /*-
* Copyright (c) 1980, 1993 * Copyright (c) 1980, 1993
@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0 #if 0
static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93"; static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";
#else #else
__RCSID("$NetBSD: main.c,v 1.56 2008/07/20 01:09:07 lukem Exp $"); __RCSID("$NetBSD: main.c,v 1.57 2009/07/04 13:24:09 mbalmer Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -677,8 +677,7 @@ putf(const char *cp)
case 'd': case 'd':
(void)time(&t); (void)time(&t);
(void)strftime(db, sizeof(db), (void)strftime(db, sizeof(db),
/* SCCS eats %M% */ "%l:%M%p on %A, %d %B %Y", localtime(&t));
"%l:%M" "%p on %A, %d %B %Y", localtime(&t));
xputs(db); xputs(db);
break; break;