[*] Ensure POSIX compilers dont touch this file

This commit is contained in:
Reece Wilson 2024-04-13 19:13:50 +01:00
parent 3115627424
commit e3745d0efa
3 changed files with 9 additions and 5 deletions

View File

@ -1,15 +1,19 @@
/* /*
* Copyright(C) 2011 - Daniel Colascione, Microsoft Corporation * Copyright(C) 2011 - Daniel Colascione, Microsoft Corporation
* Public domain or equiv implied license *
* Microsoft gave their engineer permission to publish this reference code in his advisory article on MSDN/TechNet operated by MS * License: Unknown and falling into the public domain
* Stolen by commies and rebranded as GPL before -> https://fossies.org/linux/calibre/bypy/windows/portable.cpp * [*] Microsoft gave their engineer permission to publish this reference code in his advisory article on MSDN/TechNet operated by MS
* [*] Stolen by commies and rebranded as GPL before -> https://fossies.org/linux/calibre/bypy/windows/portable.cpp
* [*] These comments are spread across the wider internet; nobody cares
* [*] Probably doesn't meet the modicum of creativity docterine (it's literally just yet another escaping scheme with a single rule saying to \ the quotes and slashes)
* [*] Worse case: MICROSOFT LIMITED PUBLIC LICENSE version 1.1
* *
* CmdLine subsystem uses CommandLineToArgvW to parse commandline strings from Windows, just like **most** (not all) apps and crts in Windows land * CmdLine subsystem uses CommandLineToArgvW to parse commandline strings from Windows, just like **most** (not all) apps and crts in Windows land
* Unix programs merely passthrough unmodified strings using execv * Unix programs merely passthrough unmodified strings using execv
* *
*/ */
#include <Source/RuntimeInternal.hpp> #include <Source/RuntimeInternal.hpp>
#include "AuArgvQuote.hpp" #include "AuArgvQuote.NT.hpp"
void void
ArgvQuote( ArgvQuote(

View File

@ -14,7 +14,7 @@
#include "AuProcess.Win32.hpp" #include "AuProcess.Win32.hpp"
#endif #endif
#include "AuArgvQuote.hpp" #include "AuArgvQuote.NT.hpp"
#include <Source/IO/FS/FS.hpp> #include <Source/IO/FS/FS.hpp>
#include <Source/IO/FS/Async.NT.hpp> #include <Source/IO/FS/Async.NT.hpp>