Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [patch] Add _elf_files type



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