Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [patch] Add _elf_files type
- X-seq: zsh-workers 37382
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [patch] Add _elf_files type
- Date: Fri, 11 Dec 2015 08:21:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1449818643; bh=ZyiZd06XZBcIGP44aPm9bUIogttjoGiciS5ublBCOqY=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=No27jFU/nUJnU4Pmrg8CJHV2Sxe9ftzD/o0B1cc4qlJ5fx6CG7f2jM/YZXGFP8GIqlaf17nuZN8mf+Z0P3rQPuI8TeKnLxfd0UPzWI9FM1HbeXYdJa2VLH92VMwTovET6DjjjsMuKgqU/4mplOe14fyhTFqQn3Pf/Vo+c92f9oi014C6XyfW76K4kDwCyEK+ox444N6t69q1009iJvzgyh3GlS4NdRsGJDW0fs0L62AmPZ/zekT80XKL9MCcgA+hHi5uZmLs4ze6d+x+5vijcYfeSL87o7/O8QFfR12KKyRplvky5I64QwWBKplWS/++Wr1D0T+HRXcQkeN25gNcyw==
- In-reply-to: <20151211064440.GA19567@CptOrmolo.darkstar>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author