[tahoe-dev] [mm] FreeBSD 6 patch

Ben Laurie ben at links.org
Mon Apr 28 22:41:15 PDT 2008


zooko wrote:
> On Apr 28, 2008, at 1:47 AM, Ben Laurie wrote:
>> What it says on the tin.
> 
> Thanks -- committed.
> 
> Also I added this patch to the pyutil library but not yet into  
> Tahoe.  It says: if your sys.platform string is not recognized, then  
> instead of raising UnsupportedPlatformException try using BSD-style  
> "ifconfig".  If you get something resembling a dotted-quad IPv4  
> address from that, be happy, else raise UnsupportedPlatformException.
> 
> http://allmydata.org/trac/pyutil/changeset/91
> 
> http://allmydata.org/trac/pyutil/browser/pyutil/pyutil/iputil.py#L214
> 
> I'm not sure that this is a good idea.  :-)

Autodetecting platform capabilities is always a good idea - the whole 
game of explicitly mapping platforms is a waste of life, IMO.

-- 
http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff


More information about the tahoe-dev mailing list