Edit

kc3-lang/libxkbcommon/src

Branch :

  • Show log

    Commit

  • Author : Ran Benita
    Date : 2015-11-19 00:44:27
    Hash : 2cca0289
    Message : src/utils: change map_file to not take const string argument map_file() uses PROT_READ, so const seems fitting; however unmap_file calls munmap/free, which do not take const, so an UNCONSTIFY is needed. To avoid the UNCONSTIFY hack, which is likely undefined behavior or some such, just remove the const. Signed-off-by: Ran Benita <ran234@gmail.com>