Merge remote-tracking branch '8byte-jose/win32-unc-fix'
commit
3949c53343
|
@ -325,9 +325,14 @@ M: winnt root-directory? ( path -- ? )
|
||||||
TR: normalize-separators "/" "\\" ;
|
TR: normalize-separators "/" "\\" ;
|
||||||
|
|
||||||
M: winnt normalize-path ( string -- string' )
|
M: winnt normalize-path ( string -- string' )
|
||||||
|
dup [ "//" head? ] [ "\\\\" head? ] bi
|
||||||
|
or [
|
||||||
|
normalize-separators
|
||||||
|
] [
|
||||||
absolute-path
|
absolute-path
|
||||||
normalize-separators
|
normalize-separators
|
||||||
prepend-prefix ;
|
prepend-prefix
|
||||||
|
] if ;
|
||||||
|
|
||||||
M: winnt CreateFile-flags ( DWORD -- DWORD )
|
M: winnt CreateFile-flags ( DWORD -- DWORD )
|
||||||
FILE_FLAG_OVERLAPPED bitor ;
|
FILE_FLAG_OVERLAPPED bitor ;
|
||||||
|
|
Loading…
Reference in New Issue