News for hackers. Stuff that matters.
Re:.C as a file extension for C++ is not portable by nanis on Thursday May 13, 2021 @06:37PM (#27148377)
I used to post on test failures in Perl modules when building `perl` with MSVC on Windows. Just two[1] examples[2].

Also, there is this gem[3]:

> I still run into modules that try to create temporary files in the root directory of my C: drive. That usually happens due to the script clearing the environment and not saving temporary directory locations. This is an unfortunate interaction with File::Spec->tmpdir which defaults to trying to write to the root (hey, Windows 95 allowed it!) of the current drive if it can’t locate the customary directories. I think File::Spec->tmpdir ought to croak if the environment does not contain one of TMP, TEMP, or TMPDIR, instead of offering C:\system\temp or C:\temp or /tmp or / on Windows. Regardless of File::Spec’s behavior, scripts, modules, etc should not delete those environment variables.

[1]: https://www.nu42.com/2014/12/yeah-you-put-me-in-my-place-rea...

[2]: https://www.nu42.com/2014/11/fixing-hard-coded-file-path-in-...

[3]: https://www.nu42.com/2018/03/dont-complicate-things.html

There are no comments on this comment yet.