djveremix / redis

Automatically exported from code.google.com/p/redis
0 stars 0 forks source link

Add support for comments in the same line after a configuration option in redis.conf #263

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Add a comment after a redis configuration option in the same line
2. Start redis server pointing to the configuration file

What is the expected output? 

Redis server should start normally.

What do you see instead?

Redis server complaints about wrong/extra parameters for the command.

What version of the product are you using? On what operating system?

2.1.1 (git sources) on Mac OS X.

Please provide any additional information below.

Patch attached.

Original issue reported on code.google.com by gnr...@gmail.com on 20 Jun 2010 at 6:07

Attachments:

GoogleCodeExporter commented 9 years ago
The config file parsing code will be mostly rewritten in a few months, 
hopefully...

For now I feel this feature is not so important, but I'll try to support this 
feature in the new code.

Cheers,
Salvatore

Original comment by anti...@gmail.com on 31 Aug 2010 at 11:21