• antirez's avatar
    Get absoulte config file path before processig 'dir'. · ede33fb9
    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.
    ede33fb9
redis.c 122 KB