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
Currently wl-clipboard doesn't do anything OS X / Darwin-specific when running on that platform, but we should!
Apparently readlink("/dev/fd/...") doesn't work too well there, we should use the semi-private proc_pidfdinfo() API instead.
For mapping a file extension to a MIME type, we should use Cocoa APIs (such as UTTypeCreatePreferredIdentifierForTag or kCFURLTypeIdentifierKey) instead of reading /etc/mime.types.
Can we do some similar Cocoa magic to infer file type based on its contents?
Research whether there is a better Darwin-specific method to create an anonymous file
The text was updated successfully, but these errors were encountered:
Currently wl-clipboard doesn't do anything OS X / Darwin-specific when running on that platform, but we should!
readlink("/dev/fd/...")
doesn't work too well there, we should use the semi-privateproc_pidfdinfo()
API instead.UTTypeCreatePreferredIdentifierForTag
orkCFURLTypeIdentifierKey
) instead of reading/etc/mime.types
.The text was updated successfully, but these errors were encountered: