Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ps Remove SCCS workaround. No binary change.
details: https://anonhg.NetBSD.org/src/rev/ead18d000e10
branches: trunk
changeset: 961738:ead18d000e10
user: maya <maya%NetBSD.org@localhost>
date: Sat Apr 17 08:35:33 2021 +0000
description:
Remove SCCS workaround. No binary change.
diffstat:
bin/ps/print.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (32 lines):
diff -r b9829183a289 -r ead18d000e10 bin/ps/print.c
--- a/bin/ps/print.c Sat Apr 17 08:34:27 2021 +0000
+++ b/bin/ps/print.c Sat Apr 17 08:35:33 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: print.c,v 1.134 2021/04/06 13:35:52 christos Exp $ */
+/* $NetBSD: print.c,v 1.135 2021/04/17 08:35:33 maya Exp $ */
/*
* Copyright (c) 2000, 2007 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#else
-__RCSID("$NetBSD: print.c,v 1.134 2021/04/06 13:35:52 christos Exp $");
+__RCSID("$NetBSD: print.c,v 1.135 2021/04/17 08:35:33 maya Exp $");
#endif
#endif /* not lint */
@@ -800,11 +800,9 @@
if (now == 0)
(void)time(&now);
if (now - k->p_ustart_sec < SECSPERDAY)
- /* I *hate* SCCS... */
- safe_strftime(buf, sizeof(buf) - 1, "%l:%" "M%p", tp);
+ safe_strftime(buf, sizeof(buf) - 1, "%l:%M%p", tp);
else if (now - k->p_ustart_sec < DAYSPERWEEK * SECSPERDAY)
- /* I *hate* SCCS... */
- safe_strftime(buf, sizeof(buf) - 1, "%a%" "I%p", tp);
+ safe_strftime(buf, sizeof(buf) - 1, "%a%I%p", tp);
else
safe_strftime(buf, sizeof(buf) - 1, "%e%b%y", tp);
/* %e and %l can start with a space. */
Home |
Main Index |
Thread Index |
Old Index