• Stephan Bergmann's avatar
    file UCP: Ensure myLocalTime is initialized · 94c92063
    Stephan Bergmann yazdı
    When a file's time is epoch (1970-01-01 00:00:00, i.e., TimeValue temp is all
    zero) and the TZ is UTC or westward, osl_getLocalTimeFromSystemTime returns
    false and leaves myLocalTime uninitialized.  That e.g. confuses getModuleByUrl
    (scripting/source/pyprov/pythonscript.py), potentially re-loading a Python
    script with epoch time (as happens e.g. for the share/Scripts/python/ files in
    an xdg-app installation of LO) every time it is accessed, falsely assuming it
    has changed on disk since last load.
    
    Change-Id: I8d4228feb28e2697a7021e3488ae2c09e8439ed8
    94c92063
log-areas.dox 9.62 KB