[Revak R. Tyagi]
> Dear Maintainer,

Hi.  I am very happy to hear from you.  I was starting to suspect I was
the only user of plan left. :)

> While trying to add an appointment using command line, e.g.,
>
> plan 0930 -l '00:10' 'message'
>
> plan aborts, giving the following message,
>
> plan: main.c:334: non_interactive: Assertion `sizeof(l) < 6' failed.
> Aborted
>
> This seems to be a check for sizeof(long long) which on my amd64 system
> is 8 Bytes.

Obs, that assert is wrong.  It should look like this

  long long       l;
  assert(sizeof(l) >= 6);

The reason I added the assert was to ensure that the l value was able to
store numbers looking like this: 201512012330 (ie 2015-12-01T23:30 in
ISO 8601 format), but obviously I got it wrong.  A fix is in git.  I'll
upload the fixed version to unstable as soon as possible.

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to