1. 25 Mar, 2018 1 commit
  2. 08 Jan, 2018 1 commit
  3. 07 Aug, 2017 1 commit
  4. 03 Aug, 2017 1 commit
    • Philip Withnall's avatar
      Consistently save errno immediately after the operation setting it · 5cddde1f
      Philip Withnall authored
      Prevent the situation where errno is set by function A, then function B
      is called (which is typically _(), but could be anything else) and it
      overwrites errno, then errno is checked by the caller.
      
      errno is a horrific API, and we need to be careful to save its value as
      soon as a function call (which might set it) returns. i.e. Follow the
      pattern:
        int errsv, ret;
        ret = some_call_which_might_set_errno ();
        errsv = errno;
      
        if (ret < 0)
          puts (strerror (errsv));
      
      This patch implements that pattern throughout GLib. There might be a few
      places in the test code which still use errno directly. They should be
      ported as necessary. It doesn’t modify all the call sites like this:
        if (some_call_which_might_set_errno () && errno == ESOMETHING)
      since the refactoring involved is probably more harmful than beneficial
      there. It does, however, refactor other call sites regardless of whether
      they were originally buggy.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=785577
      5cddde1f
  5. 07 Jul, 2017 1 commit
  6. 03 Jun, 2017 1 commit
    • Sébastien Wilmet's avatar
      LGPLv2+ -> LGPLv2.1+: update remaining files · eea06815
      Sébastien Wilmet authored
      For the files in gio/ (but not in gio/ sub-directories), only the *.[ch]
      files were handled in commit 3bf4a720.
      
      For the modified files in glib/tests/markups/, I've tested that
      `make check` still succeeds.
      
      After this commit,
      $ git grep -in "GNU Library"
      and
      $ git grep -in "Library General"
      return only results in COPYING files and in glib/libcharset/. The latter
      was not updated because it's a copy.
      
      $ git grep -in "version 2" | grep -iv "version 2\.1"
      now doesn't return any LGPL license header.
      - glib-gettextize.in: GPL
      - glib/gen-unicode-tables.pl: GPL
      - glib/gnulib/: a copy
      - glib/libcharset/: a copy
      - m4macros/attributes.m4: GPL
      - po/po2tbl.sed.in: GPL
      - tap-driver.sh: GPL
      - tests/*.pl: GPL
      
      https://bugzilla.gnome.org/show_bug.cgi?id=776504
      eea06815
  7. 31 May, 2017 1 commit
  8. 30 May, 2017 1 commit