mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
This commit was generated by cvs2svn to compensate for changes in r156251,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
commit
765b207771
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156252
@ -204,7 +204,7 @@ rcsdatetotm(const char *revdate, struct tm *tm)
|
||||
if (cp == NULL)
|
||||
return (-1);
|
||||
len = cp - revdate;
|
||||
if (len == 4)
|
||||
if (len >= 4)
|
||||
cp = strptime(revdate, "%Y.%m.%d.%H.%M.%S", tm);
|
||||
else if (len == 2)
|
||||
cp = strptime(revdate, "%y.%m.%d.%H.%M.%S", tm);
|
||||
|
@ -107,7 +107,7 @@ struct { \
|
||||
#define STAILQ_LAST(head, type, field) \
|
||||
(STAILQ_EMPTY((head)) ? \
|
||||
NULL : \
|
||||
((struct type *) \
|
||||
((struct type *)(void *) \
|
||||
((char *)((head)->stqh_last) - __offsetof(struct type, field))))
|
||||
|
||||
#undef STAILQ_NEXT
|
||||
|
Loading…
Reference in New Issue
Block a user