Re: [PATCH v2] Cygwin: /proc//mount*: escape strings.

2025-02-05 Thread Corinna Vinschen
Hi Jeremy, On Feb 4 13:47, Jeremy Drake via Cygwin-patches wrote: > I sent this patch in June > (https://cygwin.com/pipermail/cygwin-patches/2024q2/012712.html), and I > recently remembered I hadn't heard anything about it. Sorry for missing this patch! Looks good. Pushed. Thanks, Corinna

Re: [PATCH v2] Cygwin: /proc//mount*: escape strings.

2025-02-04 Thread Jeremy Drake via Cygwin-patches
I sent this patch in June (https://cygwin.com/pipermail/cygwin-patches/2024q2/012712.html), and I recently remembered I hadn't heard anything about it. On Tue, 4 Jun 2024, Jeremy Drake via Cygwin-patches wrote: > In order for these formats to be machine-parseable, characters used as > delimiter

[PATCH v2] Cygwin: /proc//mount*: escape strings.

2024-06-04 Thread Jeremy Drake via Cygwin-patches
In order for these formats to be machine-parseable, characters used as delimiters must be escaped. Linux escapes space, tab, newline, backslash, and hash (because code that parses mounts/mtab and fstab would handle comments) using octal escapes. Replicate that behavior here. Addresses: https://c