MSYS2-packages/msys2-runtime/0050-pathconv-don-t-skip-arguments-with-double-quote.patch
Johannes Schindelin 41fbcb09f4 msys2-runtime: support OneDrive better
With this change, files are no longer "hydrated" (read: downloaded on
the fly) when calling `ls` _just_ to determine whether the files in
question have a `#!` line that makes them executable.

This commit brings the changes from
https://github.com/msys2/msys2-runtime/pull/209 to MSYS2-packages.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-03-23 23:36:23 +01:00

26 lines
808 B
Diff

From 65672ed072d895361382478d82b33f8c11c7201d Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Sat, 10 Feb 2024 08:31:55 +0100
Subject: [PATCH 50/N] pathconv: don't skip arguments with double quote
It is used to pass strings/paths to the preprocessor and breaks
for example the CPython build. For example -DPREFIX='"/ucrt64"'.
Fixes #190
---
winsup/cygwin/msys2_path_conv.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/winsup/cygwin/msys2_path_conv.cc b/winsup/cygwin/msys2_path_conv.cc
index f6e91a2..4c0cc82 100644
--- a/winsup/cygwin/msys2_path_conv.cc
+++ b/winsup/cygwin/msys2_path_conv.cc
@@ -368,7 +368,6 @@ skip_p2w:
switch (*it) {
case '`':
case '\'':
- case '"':
case '*':
case '?':
case '[':