You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both of these are from the jq installed from the operating system package manager. I verified that the FreeeBSD one works the same when built from source.
I have a suspicion that the difference is a bug in FreeBSD's libc, but I don't know enough about the functions being used to verify this. I'll gladly report it upstream if we can isolate the bug to a C snippet, but until then this is a jq test suite problem :)
The text was updated successfully, but these errors were encountered:
EDIT: Hmm, no, #2863 probably won't help as it is right now. It seems we probably need to add the same workaround we have for OS X for FreeBSD (see set_tm_wday() in src/builtin.c).
Can you find out if on FreeBSD the tm_wday field is 0..6 or 1..7?
This looks like a bug on FreeBSD. February 11, 2037, looks like it would be a Wednesday according to every online calendar and every smartphone calendar app I checked, as well as according to cal(1) on Linux.
Well, I'll see if maybe it's a bug in set_tm_wday() in src/builtin.c, but it shouldn't be called on FreeBSD if its strptime() sets it.
On FreeBSD, I get the following output:
On linux (ubuntu 22.04), I get the following (correct, probably) output:
Both of these are from the jq installed from the operating system package manager. I verified that the FreeeBSD one works the same when built from source.
I have a suspicion that the difference is a bug in FreeBSD's libc, but I don't know enough about the functions being used to verify this. I'll gladly report it upstream if we can isolate the bug to a C snippet, but until then this is a jq test suite problem :)
The text was updated successfully, but these errors were encountered: