Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: allocating a new file descriptor
- X-seq: zsh-workers 21146
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: allocating a new file descriptor
- Date: Fri, 15 Apr 2005 20:06:55 +0100
- In-reply-to: <1050415161914.ZM19005@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200504121257.j3CCvkXr003286@xxxxxxxxxxxxxx> <1050414045748.ZM13551@xxxxxxxxxxxxxxxxxxxxxxx> <200504140949.j3E9n5Kp006216@xxxxxxxxxxxxxx> <1050414142337.ZM14042@xxxxxxxxxxxxxxxxxxxxxxx> <200504141616.j3EGGR7O023489@xxxxxxxxxxxxxx> <20050414181020.GA5064@sc> <200504151027.j3FARBdH004522@xxxxxxxxxxxxxx> <1050415161914.ZM19005@xxxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer wrote:
> Also maybe it's time we introduced an API in the main part of zsh for
> opening and closing files, so that we can stop doing things like this ...
Fine, although I don't suppose anybody's actually going to do it...
The issue is actually checking the state of fds and fixing up the state
after the open; in several modules, including socket, we need to open fd's
in non-standard ways. That's about two new functions already.
Wrapping the whole thing up is probably a lot of work.
pws
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author