glib: Add filename type annotations

Desktop / GNOME / GLib - Christoph Reiter [gmail.com] - 4 June 2016 13:38 UTC

Adds the filename annotation for all file names and things which can contain file names like environment variables, argv-

On Unix they can contain anything while on Windows they are always utf-8.

https://bugzilla.gnome.org/show_bug.cgi?id=767245

41013a0 glib: Add filename type annotations
glib/gbookmarkfile.c | 11 +++++-----
glib/gconvert.c | 14 +++++++------
glib/gdir.c | 2 +-
glib/genviron.c | 55 +++++++++++++++++++++++++++-----------------------
glib/gfileutils.c | 48 ++++++++++++++++++++++++-------------------
glib/giochannel.c | 2 +-
glib/gmappedfile.c | 3 ++-
glib/gshell.c | 14 ++++++-------
glib/gspawn.c | 32 +++++++++++++++++++----------
glib/gstdio.c | 47 +++++++++++++++++++++++++++---------------
glib/gtestutils.c | 2 +-
glib/gutils.c | 38 +++++++++++++++++++---------------
12 files changed, 157 insertions(+), 111 deletions(-)

Upstream: git.gnome.org


  • Share