diff options
| author | Eugene Grosbein <eugen@FreeBSD.org> | 2017-12-09 23:34:00 +0000 |
|---|---|---|
| committer | Eugene Grosbein <eugen@FreeBSD.org> | 2017-12-09 23:34:00 +0000 |
| commit | 90ec288bde911fac62b4a16b52d3518518cce279 (patch) | |
| tree | 34add1cd15e8dd8c3ca8a335627e7a8229f3bda2 /pw/psdate.h | |
| parent | 7bc7048d845425d5ae63c7f9b51439368f5263be (diff) | |
| download | pw-darwin-90ec288bde911fac62b4a16b52d3518518cce279.tar.gz pw-darwin-90ec288bde911fac62b4a16b52d3518518cce279.zip | |
pw(8): correct expiration period handling and command line overrides
to preconfigured values for -e, -p and -w flags.
Use non-negative symbols instead of magic values
in passwd_val/pw_password functions.
PR: 223431
Submitted by: Yuri Pankov (in part, patch for the manual)
Reported by: mav (mentor)
MFC after: 3 days
Relnotes: yes
Diffstat (limited to 'pw/psdate.h')
| -rw-r--r-- | pw/psdate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pw/psdate.h b/pw/psdate.h index bb71da3..29bfb33 100644 --- a/pw/psdate.h +++ b/pw/psdate.h @@ -35,6 +35,7 @@ #include <sys/cdefs.h> __BEGIN_DECLS +int numerics(char const * str); time_t parse_date(time_t dt, char const * str); void print_date(char *buf, time_t t, int dotime); __END_DECLS |
