[pacman-dev] [PATCH 1/2] libalpm: sync changes to disk when appropriate