mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Ismael Luceno <ismael@iodev.co.uk>
To: musl@lists.openwall.com
Subject: Re: [PATCH] glob: implement GLOB_NOMAGIC
Date: Sat, 27 Jul 2019 15:59:17 +0200	[thread overview]
Message-ID: <20190727135917.GA16881@pirotess.home> (raw)
In-Reply-To: <20190727023951.GP1506@brightrain.aerifal.cx>

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* 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 \
    --to=ismael@iodev.co.uk \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).