Opensnoop doesn't handle files with spaces in the names

Originator:keithbsmiley
Number:rdar://32866035 Date Originated:19-Jun-2017 22:07
Status:Open Resolved:
Product:macOS + SDK Product Version:10.12.4 (16E195)
Classification:Other Bug Reproducible:Always
 
Summary:
Currently if you try to use opensnoop with files with spaces in the name, it doesn't work.

Steps to Reproduce:
1. `touch "foo bar"`
2. opensnoop -n "foo bar"

Expected Results:
Opensnoop correctly handles this filename

Actual Results:
Opensnoop needs a change to handle this

Version:
10.12.4 (16E195)

Notes:
See https://apple.stackexchange.com/questions/88749/opensnoop-utility-doesnt-work-with-spaces-between-filenames-how-to-fix for details

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!