From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20089 invoked by alias); 24 Oct 2015 21:05:44 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36950 Received: (qmail 18342 invoked from network); 24 Oct 2015 21:05:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=Ss0fiYn5Qbxn7TEiFioel+VWPJAirK7YNpFeE5t5h/Y=; b=KGlKvi97rbHCwJybDXY3S00SjnTdx5g3RlJRc0HX2BfoP/I3YnFtO7IlwCrPUXrHh7 bc8+VAgnYaQ5AJxsSakk8I0D6cM/59qv4mv9KFAmIFTlAi1WuVeO59PWlYjLcoV36HVi kvdH5RTvgut6iS4xc2QAhmuxmCa5RD5ReGc1LGrR26PCXq/oxiQHTwyD5vxPVDdli1ud y5gieA5PQXFiQb9GBjkgBHBfXsDc0BGJhDvkKZxK+CORssHubSUXFgzVBdXalsjuFAua 82yMgL4atFfohzIsxTvxjrCI8ysG5ueqL86R4WkgYaU1kURj5UhN36EFE6R5m1SNIuyQ Zy3A== X-Gm-Message-State: ALoCoQlQJInFiktnddKmTm+/Z26LcfGM+uAJC9ERZkI0SPFGXgaz/I9t7xEoxE9Op2kOl99MdeV5 X-Received: by 10.202.67.194 with SMTP id q185mr17006696oia.106.1445720742220; Sat, 24 Oct 2015 14:05:42 -0700 (PDT) From: Bart Schaefer Message-Id: <151024140539.ZM31653@torch.brasslantern.com> Date: Sat, 24 Oct 2015 14:05:39 -0700 In-Reply-To: <20151024204341.5c15808d@ntlworld.com> Comments: In reply to Peter Stephenson "Re: Mangement of fdtable[]" (Oct 24, 8:43pm) References: <151015172252.ZM30709@torch.brasslantern.com> <20151024191621.7f6d71bf@ntlworld.com> <151024114352.ZM27626@torch.brasslantern.com> <20151024201439.35cb8bf1@ntlworld.com> <20151024204341.5c15808d@ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Mangement of fdtable[] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 24, 8:43pm, Peter Stephenson wrote: } Subject: Re: Mangement of fdtable[] } } That's not good enough. For zsocket, it needs to be an FDT_EXTERNAL } because we want the user to determine whne it gets closed just the same } as with ztcp, but in this case it can only be closed with standard shell } syntax --- I've clarified this. OK, so the next question is, if the descriptor is going to be closed by some external library (again I refer to db_gdbm.c), how should the module mark it as no longer used in fdtable? Poke FDT_UNUSED directly?