Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Enable sub-second timeout in zsystem flock



On 11 Jan 2020, at 09:41, Cedric Ware <cedric.ware__bml@xxxxxxxxxxxxxx> wrote:
> zerrmsg() (and thus zwarnnam()) only supports displaying a long (%L)
> if DEBUG is enabled (see "#ifdef DEBUG" lines 290 and 328 of
> Src/utils.c), and no floating-point types.  Is this deliberate?

It was deliberate at one time. Daniel actually changed it in master a week or
two ago, so it should be usable now. I don't even think it needs to be that
elaborate though, 'invalid value' or whatever would be fine

On 11 Jan 2020, at 09:41, Cedric Ware <cedric.ware__bml@xxxxxxxxxxxxxx> wrote:
> As I've never done this before, I'd feel more confident adding tests to
> an existing script than trying to learn and write one from scratch.

np. I should have time this week end actually, will get back to you

dana



Messages sorted by: Reverse Date, Date, Thread, Author