Feature request: NUL delimiter for mapfile/readarray

2013-03-12 Thread Charles Duffy
Howdy -- Right now, mapfile isn't suitable for any case where arbitrary C strings need to be read -- which is the case when handling filenames, serializing/deserializing arbitrary command-line parameters, and many other such situations. Is there any chance of getting a -d '' (akin to read) or -0

File descriptor leak in nested functions

2010-04-16 Thread Charles Duffy
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE

Re: File descriptor leak in nested functions

2010-04-16 Thread Charles Duffy
contrast, does not reproduce the bug. On Thu, Apr 15, 2010 at 4:57 PM, Charles Duffy wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE=&#