From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@zsh.org
Subject: Re: [patch] Add _elf_files type
Date: Fri, 11 Dec 2015 08:21:05 +0100 [thread overview]
Message-ID: <20260.1449818465@thecus.kiddle.eu> (raw)
In-Reply-To: <20151211064440.GA19567@CptOrmolo.darkstar>
Matthew Martin wrote:
> elfdump, nm, objdump, and readelf all had a similar way of determining
> what files they would complete. Move this into _elf_files. Also adds
> patterns for core files and versioned libraries.
This seems sensible.
Don't some systems including even Mac OS X use something other than ELF?
With that in mind, should it perhaps be named _object_files?
Also, can we perhaps be a little more generous on matching core files?
On Linux it is configurable via /proc/sys/kernel/core_pattern, similarly
on Solaris via coreadm(1M) and FreeBSD via the sysctl variable
kern.corefile.
While the defaults for those systems are core.pid, core and cmd.core,
respectively, I'd be inclined to match (core*|*.core) on any system.
Oliver
next prev parent reply other threads:[~2015-12-11 7:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 6:44 Matthew Martin
2015-12-11 7:21 ` Oliver Kiddle [this message]
2015-12-11 7:52 ` Matthew Martin
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=20260.1449818465@thecus.kiddle.eu \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@zsh.org \
/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/zsh/
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).