WSL/SLF GitLab Repository

Skip to content
  • Mathias Bavay's avatar
    This is a fix for Snowpack issue 291 : on Windows, when the file would stop... · d5bbcf97
    Mathias Bavay authored
    This is a fix for Snowpack issue 291 : on Windows, when the file would stop right after [DATA} (ie without even a new line), the data section pointer would be invalid (set to -1) but a getline on it would not set eof and therefore the reading loop would never end... So if the data section pointer is -1, we simply return (there is obviously nothing to read).
    d5bbcf97