Re: lts.conf LIKE loop potential

Ken Yap <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
> > 	Hello,
> > while remembering: there's infinite loop potential
> when parsing
> > lts.conf containing looped LIKE entries[1]:
> > 
> > [ws001] LIKE = ws002
> > [ws002] LIKE = ws001
> are you sure that really creates a loop ? lts.conf is an
> ini file and
> getltscgf only parses thh ini entries in order afaik imho
> it would parse
> the section ws001, not set any variables for that since
> there is no
> further content and move on ... can you do a test first
> that it actually
> parses in such a deep level that this could produce loops ?

Yes, cycles could be avoided by forbidding (or ignoring) forward references, thus forcing the user to put sections in topological sort order. Parsing would then be one-pass.


      Start at the new Yahoo!7 for a better online experience. www.yahoo7.com.au


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.