Make getltscfg accept an empty lts.conf as valid

Άλκης Γεωργόπουλ ος <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <1234739448.13354.7.camel@alkisg>
To make getltscfg accept an empty (or with comments only) lts.conf as
valid, the following patch could be applied to parser.y.

Number of conflicts remains the same:
parser.y: conflicts: 2 shift/reduce, 1 reduce/reduce

Regards,
Alkis Georgopoulos

------------------------

alkisg@alkisg:~/tmp/ltsp-upstream/ltsp-trunk$ bzr diff
=== modified file 'client/getltscfg/parser.y'
--- client/getltscfg/parser.y	2005-05-04 03:57:51 +0000
+++ client/getltscfg/parser.y	2009-02-15 22:50:22 +0000
@@ -22,7 +22,8 @@
 
 %%
 configuration
-	:	sections
+	:
+	|	sections
 	;
 
 includes



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_____________________________________________________________________
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.