• antirez's avatar
    Get absoulte config file path before processig 'dir'. · 4237f14a
    antirez authored
    The code tried to obtain the configuration file absolute path after
    processing the configuration file. However if config file was a relative
    path and a "dir" statement was processed reading the config, the absolute
    path obtained was wrong.
    
    With this fix the absolute path is obtained before processing the
    configuration while the server is still in the original directory where
    it was executed.
    4237f14a
redis.c 117 KB