1. 01 Sep, 2013 1 commit
  2. 29 Jan, 2013 1 commit
    • Colin Walters's avatar
      Add g_close(), use it · f398bec5
      Colin Walters authored
      There are two benefits to this:
      
      1) We can centralize any operating system specific knowledge of
         close-vs-EINTR handling.  For example, while on Linux we should never
         retry, if someone cared enough later about HP-UX, they could come by
         and change this one spot.
      2) For places that do care about the return value and want to provide
         the caller with a GError, this function makes it convenient to do so.
      
      Note that gspawn.c had an incorrect EINTR loop-retry around close().
      
      https://bugzilla.gnome.org/show_bug.cgi?id=682819
      f398bec5
  3. 27 Aug, 2012 1 commit
  4. 31 Mar, 2012 1 commit
  5. 14 Dec, 2011 1 commit
  6. 06 Sep, 2010 1 commit
  7. 04 Sep, 2010 1 commit
  8. 12 Jul, 2010 1 commit
    • Allison Karlitskaya's avatar
      Fix some glib docs warnings · 7791fce3
      Allison Karlitskaya authored
      Remove some symbols from glib-sections.txt that gtk-doc has no idea
      about.
      
      Add proper callback typedefs for GTester (gtk-doc dislikes inline
      function types).
      
      Fix some other minor issues.
      7791fce3
  9. 07 Jul, 2010 1 commit
  10. 30 Mar, 2010 1 commit
    • Tor Lillqvist's avatar
      Define a public documented type for the struct stat used by g_stat() · 1229281d
      Tor Lillqvist authored
      Define GStatBuf as the type used by g_stat() and g_lstat(). Replaces
      the non-public struct tag _g_stat_struct. Mostly relevant for Windows
      where there are several variants of stat-style structs. On POSIX, is
      just another name for struct stat.
      
      Actually, also on many POSIX systems there are in fact several
      variants of struct stat and corresponding stat() and lstat()
      functions, but as g_stat and g_lstat are normally on POSIX just macros
      that expand to stat and lstat, this should not cause a problem. It's
      only when it's the actual g_stat() or g_lstat() implementation inside
      GLib that gets called that one needs to be sure the passed struct is
      the same as what GLib expects.)
      1229281d
  11. 04 Feb, 2010 1 commit
  12. 30 Jul, 2008 1 commit
  13. 21 Jun, 2008 1 commit
  14. 07 Jun, 2008 1 commit
  15. 29 May, 2008 2 commits
  16. 20 Aug, 2007 1 commit
  17. 26 Apr, 2007 1 commit
  18. 10 Sep, 2006 1 commit
  19. 29 Aug, 2006 1 commit
    • Tor Lillqvist's avatar
      Remove support for Windows 9x/ME, as will be done also in Pango and GTK+. · da422c00
      Tor Lillqvist authored
      2006-08-29  Tor Lillqvist  <tml@novell.com>
      
      	Remove support for Windows 9x/ME, as will be done also in Pango
      	and GTK+. GTK+ hasn't worked on Win9x since 2.6 or 2.8 anyway, so
      	it's pretty pointless to keep the Win9x code in here either. If
      	somebody is interested, the code can always be found in older GLib
      	versions, and in CVS.
      
      	* glib/gdir.c
      	* glib/gfileutils.c
      	* glib/gspawn-win32-helper.c
      	* glib/gspawn-win32.c
      	* glib/gstdio.c
      	* glib/gutils.c
      	* glib/gwin32.c
      	* glib/gwin32.h: Remove the G_WIN32_IS_NT_BASED() and
      	G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
      	branches, and any variables or static functions used only by the
      	Win9x branches.
      
      	* glib/gwin32.c (g_win32_windows_version_init): Call g_error() if
      	run on Win9x.
      da422c00
  20. 31 Mar, 2006 2 commits
  21. 01 Dec, 2005 3 commits
  22. 03 Aug, 2005 1 commit
  23. 30 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Apply a patch which may make GLib work on BeOS again. (#309157, Kian · b78a0792
      Matthias Clasen authored
      2005-06-30  Matthias Clasen  <mclasen@redhat.com>
      
      	Apply a patch which may make GLib work on BeOS again.
      	(#309157, Kian Duffy)
      
      	* glib/gmain.c: Update the BeOS includes.
      
      	* glib/gstdio.c:
      	* glib/gutils.c (g_find_program_in_path):
      	* glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX
      	implementation on BeOS, as well.
      
      	* configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even
      	on BeOS.
      b78a0792
  24. 09 Jun, 2005 1 commit
    • Tor Lillqvist's avatar
      glib/gstdio.h glib/gstdio.c Add a chdir() wrapper, too. · f928d834
      Tor Lillqvist authored
      2005-06-09  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gstdio.h
      	* glib/gstdio.c
      	* glib/glib.symbols: Add a chdir() wrapper, too.
      
      	* glib/glib.symbols: Add g_win32_locale_filename_from_utf8().
      
      	* glib/gwin32.c (g_win32_locale_filename_from_utf8): Clarify doc
      	comment.
      f928d834
  25. 01 May, 2005 1 commit
  26. 08 Apr, 2005 2 commits
  27. 14 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 608a31b9
      Matthias Clasen authored
      2005-03-13  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in galias.h:
      
      	* glib/glib.symbols: Group symbols by header and source file.
      	* glib/makegalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegalias.pl -def
      	* glib/Makefile.am (galiasdef.c): Add a rule to generate this
      	file.
      	* glib/*.c: Include galias.h after the other GLib headers,
      	include galiasdef.c at the bottom.
      608a31b9
  28. 23 Feb, 2005 1 commit
    • Manish Singh's avatar
      On G_OS_UNIX, simple #define g_open and co. as aliases for their · 1ecb9a68
      Manish Singh authored
      Tue Feb 22 22:03:38 2005  Manish Singh  <yosh@gimp.org>
      
              * glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as
              aliases for their respective C library functions, instead of
              using the function wrappers. This avoids library users having to
              care about matching large file support with whatever glib has been
              built with. Fixes bug #167942.
      
              * glib/gstdio.c
              * glib/abicheck.sh
              * glib/glib.symbols
              * glib/makegalias.pl: Logic to make the gstdio wrappers still
              available for compatibility, but not used in new code.
      1ecb9a68
  29. 02 Feb, 2005 1 commit
  30. 13 Dec, 2004 1 commit
    • Tor Lillqvist's avatar
      Update. · b17c8523
      Tor Lillqvist authored
      2004-12-13  Tor Lillqvist  <tml@iki.fi>
      
      	* NEWS: Update.
      
      	* glib/glib.symbols
      	* glib/gstdio.[ch]: Add g_rmdir().
      b17c8523
  31. 11 Dec, 2004 1 commit
    • Tor Lillqvist's avatar
      Add doc comments about Windows restrictions on renaming and removing. · 06f371fb
      Tor Lillqvist authored
      2004-12-11  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gstdio.c (g_rename, g_unlink, g_remove): Add doc comments
      	about Windows restrictions on renaming and removing.
      
      	(g_remove): Mimic POSIX remove() on Windows: Try also to rmdir if
      	removal as a file fails. Document this.
      
      	* glib/gstdio.h: Clarify comment about file name encoding on
      	Windows.
      06f371fb
  32. 01 Nov, 2004 1 commit
  33. 31 Oct, 2004 1 commit
    • Tor Lillqvist's avatar
      Add g_lstat(). · 20e56bbc
      Tor Lillqvist authored
      2004-10-31  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gstdio.[ch]: Add g_lstat().
      20e56bbc
  34. 29 Oct, 2004 1 commit
  35. 28 Oct, 2004 1 commit