History log of /freebsd-current/sbin/dhclient/tests/fake.c
Revision Date Author Comments
# 2a63c3be 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c comment pattern

Remove /^/[*/]\s*\$FreeBSD\$.*\n/


# c210cac0 10-Jul-2023 Alex Bahm <alexander.bahm@dell.com>

dhclient: fix time parsing for leases expiring after 2038

Convert lease parsing to timegm to calculate timestamp. For reference, when
writing the lease, we use gmtime to convert the timestamp to struct tm.

Reviewed By: markj, vangyzen
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D40760


# a06052d6 08-Apr-2022 Gordon Bergling <gbe@FreeBSD.org>

dhclient(8): Fix a typo in a source code comment

- s/explicitely/explicitly/

MFC after: 3 days


# 79a1d195 21-Feb-2018 Alan Somers <asomers@FreeBSD.org>

dhclient: raise WARNS to 4

Mostly const-correctness fixes. There were also some variable-shadowing,
unused variable, and a couple of sockaddr type-correctness changes. I also had
trouble with cast-align warnings. I was able to prove that one of them was a
false positive. But ultimately I had to disable the warning program-wide to
deal with the others.

Reviewed by: cem
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D14460


# 513bdaa1 13-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Fix -Wunused-but-set-warning with `ret`

While here, resolve Coverity warnings by demonstrating that vfprintf's
return value is being explicitly ignored.

MFC after: 1 week
Reported by: gcc 6.3.0
Tested with: clang, gcc 4.2.1, gcc 6.3.0
Sponsored by: Dell EMC Isilon


# c68de748 15-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/sbin/ to the new tests layout.

Pretty much all that this change does is shuffles the code around and hooks
it into the regular build. The code of the old tests has not changed.