1. 17 Mar, 2016 11 commits
  2. 16 Mar, 2016 2 commits
  3. 15 Mar, 2016 2 commits
  4. 14 Mar, 2016 8 commits
  5. 11 Mar, 2016 16 commits
  6. 10 Mar, 2016 1 commit
    • config_file: handle missing quotation marks in section header · e126bc95
      When parsing a section header we expect something along the
      format of '[section "subsection"]'. When a section is
      mal-formated and is entirely missing its quotation marks we catch
      this case by observing that `strchr(line, '"') - strrchr(line,
      '"') = NULL - NULL = 0` and error out. Unfortunately, the error
      message is misleading though, as we state that we are missing the
      closing quotation mark while we in fact miss both quotation
      marks.
      
      Improve the error message by explicitly checking if the first
      quotation mark could be found and, if not, stating that quotation
      marks are completely missing.
      Patrick Steinhardt committed