[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The patch of glibc which allows the user to override the pfinet serv

From: olafBuddenhagen
Subject: Re: The patch of glibc which allows the user to override the pfinet server
Date: Sat, 28 Jun 2008 05:21:12 +0200
User-agent: Mutt/1.5.18 (2008-05-17)


On Thu, Jun 26, 2008 at 07:31:12PM +0200, zhengda wrote:
> olafBuddenhagen@gmx.net wrote:

>> If we want to override the TCP/IP stack, that doesn't mean we want to
>> override the pipe server as well, or the other way round...
> I think using the symbolic link to the default server is another a
> solution.

Yes, it would work. But it would be an ugly solution: Only handling a
rather unusual case directly, and the much more important case only
through a kludge...

Note that if you expand on that idea, you could just as well construct a
whole filesystem with symlinks and/or unionfs, and chroot into it... No
need for special server overriding mechanisms at all, if you want to go
down that route ;-)

(Note that some of the variants I suggested for server overriding
mechanisms are technically actually not that far from that, only putting
it in a more elegant and convenient framework... But that's a different
story :-) )

>>>       server = __file_name_lookup (np, 0, 0);
>>>       if (domain <= max_domain)
>>> -      servers[domain] = server;
>>> +        servers[domain] = server;
>>> +      if (name)
>>> +        free(name);
> Do you mean the indentation here? It is caused by '-' and '+' in the  
> beginning of lines.

Ah, I see it now. That shouldn't happen, though. How did you generate
the patch?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]