Johannes Sixt <j6t@xxxxxxxx> writes: > Am 07.12.2016 um 23:29 schrieb Brandon Williams: >> Instead of assuming root is "/" >> I'll need to extract what root is from an absolute path. Aside from >> what root looks like, do most other path constructs behave similarly in >> unix and windows? (like ".." and "." as examples) > > Yes, .. and . work the same way, except that they cannot appear in the > \\server\share part. I also think that .. does not cancel these parts. > > As long as you use is_absolute_path() and do not simplify path > components before offset_1st_component(), you should be on the safe > side. > >> Since I don't really have a windows machine to test things it might be >> slightly difficult to get everything correct quickly but hopefully we can >> get this working :) > > I'll lend a hand, of course, as time permits. Thanks, as always, for working well together ;-).