[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] sed: open input files sequentially to avoid EMFILE
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2013-11-28 2:15:57
Message-ID: 201311280315.57732.vda.linux () googlemail ! com
[Download RAW message or body]

On Tuesday 26 November 2013 21:54, Daniel Borca wrote:
> Currently, sed pre-opens all files, which may cause EMFILE errors
> on systems with low ulimit -n.  Change sed to open one file at a time.
> 
> Ok, make bloatcheck output seems rather odd...

Applied with some editing. Thanks!

> With this patch, status = EXIT_FAILURE is never set.  I welcome any
> comments on this.

Fixed that, as it would be a regression.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic