Skip to content

hwclock: remove date(1)

J William Piggott util-linux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v13 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hwclock: use parse_datetime functionsys-utils/hwclock.c+5 -990 replies
2/4build-system: add hwclock-datesys-utils/Makemodule.am sys-utils/hwclock.h+11 -00 replies
3/4hwclock: add hwclock-date files+0 -00 replies
4/4hwclock: add sys-utils/hwclock-date.c+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [V2 0/4] hwclock: remove date(1)

* The last commit/patch adds hwclock-date.c
I added this file in case testers do not have 'bison' installed. It may, or may not, need to be tracked depending on how it is to be maintained. The 'c' file probably should be included in the distributed source archive to avoid the bison dependency. Karel, I don't know if you want to create a separate clean and build target for hwclock-date.c, or how you want to handle this. So, if you don't mind, I'll leave this detail to you.

Testers that want to build it can:

   $ cd sys-utils/
   $ rm hwclock-date.c 
   $ bison -o hwclock-date.c hwclock-date.y

It does require bison 2.0 or newer, yacc won't work.

---

The following changes since commit 7ab6461fae3848ea85f494f29e26229717685ae3:

docs: add note about branches to README (2017-02-24 14:19:04 +0100)

are available in the git repository at:

[email protected]:jwpi/util-linux.git hwclock-date2m

for you to fetch changes up to 46f1d03062ff66125f38abafd922412b6c182f49:

hwclock: add sys-utils/hwclock-date.c (2017-02-24 14:41:32 -0500)

----------------------------------------------------------------
J William Piggott (4):
hwclock: use parse_datetime function
build-system: add hwclock-date
hwclock: add hwclock-date files
hwclock: add sys-utils/hwclock-date.c

 include/cctype.h         |  357 ++++
 sys-utils/Makemodule.am  |    1 +
 sys-utils/hwclock-date.c | 4307 ++++++++++++++++++++++++++++++++++++++++++++++
 sys-utils/hwclock-date.y | 2427 ++++++++++++++++++++++++++
 sys-utils/hwclock.c      |  104 +-
 sys-utils/hwclock.h      |   10 +
 6 files changed, 7107 insertions(+), 99 deletions(-)
 create mode 100644 include/cctype.h
 create mode 100644 sys-utils/hwclock-date.c
 create mode 100644 sys-utils/hwclock-date.y