Merge remote-tracking branch '8byte-jose/win32-unc-fix'

db4
John Benediktsson 2011-08-28 11:46:43 -07:00
commit 3949c53343
1 changed files with 8 additions and 3 deletions

View File

@ -325,9 +325,14 @@ M: winnt root-directory? ( path -- ? )
TR: normalize-separators "/" "\\" ;
M: winnt normalize-path ( string -- string' )
absolute-path
normalize-separators
prepend-prefix ;
dup [ "//" head? ] [ "\\\\" head? ] bi
or [
normalize-separators
] [
absolute-path
normalize-separators
prepend-prefix
] if ;
M: winnt CreateFile-flags ( DWORD -- DWORD )
FILE_FLAG_OVERLAPPED bitor ;