Skip to content
  • Kevin Lewis's avatar
    98ad34eb
    Bug #21825127: DATADIR IS NOT PORTABLE DUE TO PATH SEPARATORS · 98ad34eb
    Kevin Lewis authored
    NOT NORMALIZED DURING RECOVERY
    
    Stop using os_normalize_path_for_win() altogether since we decided to not allow
    '\' as a valid character in any path on Linux. So on every path read from disk or
    provided by the user, convert '\' to '/' on non-Windows and '/' to '\' on Windows.
    
    Approved in rb#10331 by Debarun Banerjee
    98ad34eb
    Bug #21825127: DATADIR IS NOT PORTABLE DUE TO PATH SEPARATORS
    Kevin Lewis authored
    NOT NORMALIZED DURING RECOVERY
    
    Stop using os_normalize_path_for_win() altogether since we decided to not allow
    '\' as a valid character in any path on Linux. So on every path read from disk or
    provided by the user, convert '\' to '/' on non-Windows and '/' to '\' on Windows.
    
    Approved in rb#10331 by Debarun Banerjee
Loading