Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Yep, this was my issue. From an application, I was passing a string into a utility function located in another file, which did open POSIX file theString. I refactored my code so that the app would pass in the file directly and the utility function would simply open that file (theFunction(POSIX file theString) and open theFile).