id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,difficulty 607,file-type does not work on Windows,Jim Ursetto,felix winkelmann,"Because unknown file types like S_IFLNK are defined to S_IFREG on Windows, file-type will always report symbolic-link for regular files (and regular-file? will return #f). Attached patch tests for S_IFREG first, fixing the problem. FYI, applying with ""git am filename.patch"" will propagate authorship credit. Alternative solution: define S_IFLNK etc. to 0. Slightly more dangerous but all platforms should have no zero file type flags. posix-extras currently uses this method.",defect,closed,major,4.9.0,core libraries,4.7.x,fixed,,,