src: Fix timestamp parse error reporting
commit2b771a88ea8d66fd63acf73f93e5d0e486652982
authorGuillem Jover <guillem@debian.org>
Thu, 25 Apr 2024 21:02:31 +0000 (25 23:02 +0200)
committerGuillem Jover <guillem@debian.org>
Mon, 29 Apr 2024 00:44:00 +0000 (29 02:44 +0200)
tree039659e720aa14a64d3b360f3f5d9e8ad1718242
parentf6d747035eef2c9a86f6ac749444ed80673d4ccf
src: Fix timestamp parse error reporting

We should distinguish between errors causing errno to be set, and errors
from partial conversions or no conversions at all. Otherwise we might
get an error message that states "Success" which is more confusing than
helpful.

Ref: #1069846
src/deb/build.c
src/split/split.c