solvespace/src/unix
whitequark 32383d22bf Rewrite all path handling with std::string.
What do we gain from this? Several things.

 * First, usage of PATH_MAX (the POSIX constant) is eliminated.
   PATH_MAX is actually a lie; Linux and OS X (and probably other BSDs
   too) do not have an actual path length limit. Linux claims 4096,
   OS X claims 1024, but it is trivial to construct paths that are
   longer.

 * Second, while Windows does enforce a limit of MAX_PATH (the Win32
   constant) for its ASCII functions, the Unicode variants, when
   used with UNC paths, do not have this restriction.
   The capability to use UNC paths is useful by itself, as it allows
   to access files on network shares directly.

 * Third, representing paths as std::string will make it easier to
   interoperate with *W WinAPI functions later.
2016-01-13 06:45:16 +00:00
..
gloffscreen.cpp Fix read of uninitialized memory. 2015-12-28 21:37:06 +08:00
gloffscreen.h Implement OS X port. 2015-07-10 15:59:12 +03:00
solvespace-16x16.png Add a desktop file in the format understandable by Ubuntu. 2015-07-10 15:59:12 +03:00
solvespace-24x24.png Add a desktop file in the format understandable by Ubuntu. 2015-07-10 15:59:12 +03:00
solvespace-32x32.png Add a desktop file in the format understandable by Ubuntu. 2015-07-10 15:59:12 +03:00
solvespace-48x48.png Add a desktop file in the format understandable by Ubuntu. 2015-07-10 15:59:12 +03:00
solvespace.desktop Add a desktop file in the format understandable by Ubuntu. 2015-07-10 15:59:12 +03:00
unixutil.cpp Rewrite all path handling with std::string. 2016-01-13 06:45:16 +00:00