-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
inappropriate ioctl for device #6028
Closed
Labels
kind/bug
A bug in existing code (including security flaws)
Comments
Stebalien
added a commit
to ipfs/go-ipfs-cmds
that referenced
this issue
Feb 27, 2019
In go1.12, go switched how `file.Sync()` works on macos. Unfortunately, this also changed the "not supported" error to ENOTTY (called ENOTTY for legacy reasons) on macos. fixes ipfs/kubo#6028
Thanks for the report, we should have a fix in ipfs/go-ipfs-cmds#147. |
Closed
|
|
@Stebalien @thomas92911 I'm testing this with $ ipfs swarm peers | grep "*"
Error: sync /dev/stdout: bad file descriptor
|
I actually see this behavior with any grep that does not produce a result, e.g.: $ ipfs swarm peers | grep "blarg"
Error: sync /dev/stdout: bad file descriptor |
Stebalien
added a commit
that referenced
this issue
Mar 1, 2019
fixes #6028, fixes crash when writing after closing on flatfs. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Version: 0.4.19-rc1
Type: meta
OS: MacOS Mojave 10.14.3
Go Version: 1.12 darwin/amd64
Some commands such as
ipfs id
display an error at the end.The text was updated successfully, but these errors were encountered: