-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix three VFSs that use obolete dates: hp48, uace, uarc. #3729
Comments
Here are the patches. They include tests.
But wait till #3744 gets committed.
Notes:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Branch: 3729_vfs_date_fixes
Awesome, I'm very impressed, especially by the hp48 fixes :-) |
Looking at the Travis build log:
w00t? Here is the answer:
Not nice :-( time to switch to at least tar-ustar? First need to fix #3603 though. In the mean time, trying to work around it by adding --always to git describe. |
|
|
Well, I got an error in hp48+ test:
|
Replying to andrew_b:
The helper converts fractional file sizes ("30.5", "21848.5", etc.) into integer ones ("30", "21848", etc.) using a printf trick which may not be portable and which may be the reason all the filesizes in your output are zero. (Don't ask me why the filesizes the calculator reports have fractions: I don't know.)
What's the output of the following command on your system?
(The purpose of the "/bin/sh" is to use the builtin (or otherwise) printf of the shell which will actually run the helper, and not the builtin printf of your interactive shell.)
If nothing is printed: what kind of shell is /bin/sh on your system? Now remove the "2>/dev/null" part and tell us what it says. I'll soon check the standard to see if that printf trick is portable. |
Replying to mooffie:
/bin/sh is the independent executable file, the restricted version of bash. It is built specially for non-interactive usage.
But if I use %f instead of %d, I have the result that seems correct:
|
Important
This issue was migrated from Trac:
mooffie
(@mooffie)(Forking from #3696.)
These VFSs use the "Mon DD YYYY hh:mm" format, which since 2006 is no longer supported.
Note
Original attachments:
mooffie
(@mooffie) onDec 23, 2016 at 8:59 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:00 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:00 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:00 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:00 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:00 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:01 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:01 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:01 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:01 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:01 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:01 UTC
mooffie
(@mooffie) onDec 23, 2016 at 9:02 UTC
The text was updated successfully, but these errors were encountered: