bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] glob. If pattern has a trailing slash match directories only


From: Dmitry Goncharov
Subject: [patch] glob. If pattern has a trailing slash match directories only
Date: Thu, 7 Nov 2019 21:55:38 -0500

Good morning.

If pattern has a trailing slash match directories only.
This patch also makes glob return directories and symlinks to directories only
when GLOB_ONLYDIR is specified.
The original version of this patch was discussed here
https://sourceware.org/ml/libc-alpha/2017-11/msg00983.html.
Tested on linux, sunos and aix, 32 and 64 bits.
This patch can be applied with patch -l. This keeps indentation messed
up though. Alternatively, the patch can be manually merged.

regards, Dmitry

Attachment: match_slash_explicitly.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]