Ben Asselstine wrote:
On Tue, Aug 19, 2008 at 4:02 PM, zhengda <[EMAIL PROTECTED]> wrote:
+case 'f':
+ dev_file = strstr (arg, "=");
+ if (dev_file == NULL)
+ return ARGP_ERR_UNKNOWN;
+ *dev_file = 0;
+ add_dev_map (arg, dev_file+1);
+ break;
I'd feel
Thomas Bushnell BSG wrote:
On Wed, 2008-08-20 at 22:47 +0200, zhengda wrote:
I want to get the confirmation from you about the usage of
ports_get_right(), ports_destroy_right() and ports_port_deref().
When I use ports_get_right() to get the receive right of the port, I
should always make a s
On Thu, 2008-08-21 at 11:26 +0200, zhengda wrote:
> In eth-filter, I define a structure
> struct proxy_info
> {
> /* For receiving packets from pfinet. */
> struct port_info *pfinet_pi;
> hurd_ihash_locp_t p_pfinetpi_hashloc;
>
> /* For receiving packets from the network interface. */
>
Hi,
On Tue, Aug 19, 2008 at 11:29:28PM -0700, Thomas Bushnell BSG wrote:
> On Fri, 2008-08-01 at 21:18 +0100, Samuel Thibault wrote:
> > I'd agree on the principle to not leave a nul port for stdin/stdout,
> > any other opinion on this?
>
> I disagree. Translators don't have such ports, and mak
> Well, I'm not sure I entirely understand what is being discussed here;
> so pardon me if this is a stupid notion: Is there some fundamental
> reason why (active) translators couldn't actually get real stdin/stdout
> from the settrans?...
For settrans -a, they do. It's great for active debugging
Thomas Bushnell BSG wrote:
On Thu, 2008-08-21 at 11:26 +0200, zhengda wrote:
In eth-filter, I define a structure
struct proxy_info
{
/* For receiving packets from pfinet. */
struct port_info *pfinet_pi;
hurd_ihash_locp_t p_pfinetpi_hashloc;
/* For receiving packets from the network i
Hi,
On Tue, Aug 19, 2008 at 03:27:06PM +0200, zhengda wrote:
> - socket_t server;
> + socket_t server = MACH_PORT_NULL;
As I already said, this is unnecessary -- it will be assigned
unconditionally.
> + if (__asprintf (&name, "%s/%d", sock_servs, domain) < 0)
> + goto out;
In
Hi,
On Thu, Aug 21, 2008 at 10:43:03AM +0200, zhengda wrote:
> Ben Asselstine wrote:
>> On Tue, Aug 19, 2008 at 4:02 PM, zhengda <[EMAIL PROTECTED]> wrote:
>>> +case 'f':
>>> + dev_file = strstr (arg, "=");
>>> + if (dev_file == NULL)
>>> + return ARGP_ERR_UNKNOWN;
>>> +