mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-10 15:50:47 -04:00
Note about the lack of Windows support
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
994efa2aa0
commit
460cf76ef5
@ -444,6 +444,11 @@ static void write_outcome_result(FILE *outcome_file,
|
|||||||
*/
|
*/
|
||||||
static void try_chdir(const char *argv0)
|
static void try_chdir(const char *argv0)
|
||||||
{
|
{
|
||||||
|
/* We might want to allow backslash as well, for Windows. But then we also
|
||||||
|
* need to consider chdir() vs _chdir(), and different conventions
|
||||||
|
* regarding paths in argv[0] (naively enabling this code with
|
||||||
|
* backslash support on Windows leads to chdir into the wrong directory
|
||||||
|
* on the CI). */
|
||||||
const char *slash = strrchr(argv0, '/');
|
const char *slash = strrchr(argv0, '/');
|
||||||
if (slash == NULL) {
|
if (slash == NULL) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user