mailing list of musl libc
 help / color / mirror / Atom feed
From: Ismael Luceno <>
Subject: Re: [PATCH] glob: implement GLOB_NOMAGIC
Date: Sat, 27 Jul 2019 15:59:17 +0200
Message-ID: <20190727135917.GA16881@pirotess.home> (raw)
In-Reply-To: <>

On 26/Jul/2019 22:39, Rich Felker wrote:
> The documentation for this flag is really poor. Do you know how it's
> supposed to interact with escaped characters? Is it really supposed to
> refuse to expand to the literal pattern when the literal pattern
> contains an escaped *, ?, or [ but not a special one?

It's intended for implementing csh-style globbing, which doesn't
recognize escaping.

I don't see any reason to enforce GLOB_NOESCAPE, though.

> Otherwise I think this looks ok. Nice use of strcspn.


  reply	other threads:[~2019-07-27 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-26 23:48 Ismael Luceno
2019-07-27  2:39 ` Rich Felker
2019-07-27 13:59   ` Ismael Luceno [this message]
2021-08-15 17:36     ` [musl] " Ismael Luceno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190727135917.GA16881@pirotess.home \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

mailing list of musl libc

This inbox may be cloned and mirrored by anyone:

	git clone --mirror

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 musl musl/ \
	public-inbox-index musl

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:

AGPL code for this site: git clone