-
Notifications
You must be signed in to change notification settings - Fork 364
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
stat -c does not work for osx 10.10 after upgrade to 1.17.0 #399
Comments
Original code will cause the following errors:
|
On a new install of yosemite 10.1 I get the following after pasting in I get this on a new terminal. So +1 to the above, sam stat: illegal option -- c |
I tihnk it is BSD |
You can see detail bsd stat manual here http://www.freebsd.org/cgi/man.cgi?query=stat&sektion=1 |
@markwu @marcioAlmada @c9s Why not just replace
to
That works both GNU and workaround for BSD style Should i sent a PR for that? |
Signed-off-by: Rack Lin <racklin@gmail.com>
I'm still coming up with this output when I open a new terminal. I have run phpbrew self-update. Am I misunderstanding something? |
@sam452 we had no releases including this merge yet. Soon we'll have a release with the new features and this fix. |
See 1fe60b0#commitcomment-8636924
stat -c %d .
does not work for osx 10.10. Butstat -f %d .
works.I am not sure it is the right fix or not.
The text was updated successfully, but these errors were encountered: