-- [ Picked text/plain from multipart/alternative ] I am sorry, but that is not a bug, you have terminated the line and anything after ; is treated as a new line.
Try the following: // mp_timelimit 0;//echo timelimit setecho end of test.cfg I am not sure I see the point here, why would you stack lines in a cfg file when you have as much room as you want? // mp_timelimit 0 //echo timelimit setecho end of test.cfgDustin Tuft > From: [EMAIL PROTECTED]> To: [email protected]> Subject: [hlds] bug > in srcds and hlds> Date: Sat, 10 Jun 2006 20:36:37 +0400> > I found very > annoying and dangerous bug in both srcds and hlds.> To reproduce it create > test.cfg with the following content:> > ---> // mp_timelimit 0;echo timelimit > set> echo end of test.cfg> ---> > And put it into cstrike/cfg or into > cstrike.> What output in the console we should have after exec test.cfg?> > Common sense says that it must be:> > end of test.cfg> > But actually what we > receive is:> > timelimit set> end of test.cfg> > Thus comment in config files > is not commenting everything till the end> of line but up to first semicolon > instead.> This behaviour is very unnatural and may lead to very hard to > isolate> issues with complicated config files.> Looking forward to fix for > this :)> > Regards,> > Roman> > > _______________________________________________> To unsubscribe, edit your > list preferences, or view the list archives, please visit:> > http://list.valvesoftware.com/mailman/listinfo/hlds -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds

