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

Re: [leafnode-list] groupinfo file format detection



On Thu, Feb 21, 2002 at 04:18:06PM -0600, Bulgrien, Kevin wrote:
> I think it would be safe to detect the format by parsing the file with
> tab as a field delimiter.  If no lines in the file had 5 tabs, I could

It is safe and it is exactly what leafnode currently does in
activeutil.c, readactive(). 

I don't know how leafnode would react to blank and/or comment
lines. This case is simply not planned as the groupinfo should
only be modified by leafnode itself. Leafnode will never write
blank and/or comment lines in the groupinfo.

Regards,
        Jo:rg

-- 
       ---===  Encrypted mail welcome. Key-ID: 1024D/2B693EBF  ===---
Fortune cookie of the day:
It is not best to swap horses while crossing the river.
-- Abraham Lincoln

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list