Project

General

Profile

Actions

Bug #4378

closed

Clean up %C in *time() functions

Added by Gary Mills over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2013-12-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

A few source files use the %C time conversion specification with its old meaning of the complete date and time string. The new meaning is only the century number. These instances should be changet to %c or %+, as appropriate. These are:

usr/src/cmd/cron/cron.c
usr/src/cmd/fruadm/fruadm.c
usr/src/lib/libfru/libnvfru/nvfru.c
usr/src/lib/print/libpapi-common/common/attribute.c

As well, the strftime(3C) man page is out of date with respect to the source.

Actions

Also available in: Atom PDF