1. 29 May, 2017 1 commit
  2. 31 Jan, 2014 1 commit
  3. 20 Nov, 2013 1 commit
    • Dan Winship's avatar
      Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX · 158dde05
      Dan Winship authored
      In Windows development environments that have it, <unistd.h> is mostly
      just a wrapper around several other native headers (in particular,
      <io.h>, which contains read(), close(), etc, and <process.h>, which
      contains getpid()). But given that some Windows dev environments don't
      have <unistd.h>, everything that uses those functions on Windows
      already needed to include the correct Windows header as well, and so
      there is never any point to including <unistd.h> on Windows.
      
      Also, remove some <unistd.h> includes (and a few others) that were
      unnecessary even on unix.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=710519
      158dde05
  4. 11 Nov, 2013 1 commit
  5. 14 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Remove critical log handler; we can't trigger g_return_if_fails() in our · db17e65b
      Owen Taylor authored
      Sat Mar 13 23:18:45 2004  Owen Taylor  <otaylor@redhat.com>
      
              * tests/env-test.c (main): Remove critical log handler;
              we can't trigger g_return_if_fails() in our test suite
              even silently, because the user could have compiled
              with --disable-debug. #if 0 the tests for
              g_setenv/g_unsetenv with a "foo=bar" variable name.
              (#136709, reported by Frédéric L. W. Meunier)
      db17e65b
  6. 25 Feb, 2004 1 commit
    • Hans Breuer's avatar
      added g_hash_table_find and a bunch of g_queue_* · fc9afe0d
      Hans Breuer authored
      2003-02-26 Hans Breuer  <hans@breuer.org>
      
      	* glib/glib.def : added g_hash_table_find and a
      	bunch of g_queue_*
      
      	* glib/gmain.c : make it compile on win32,
      	child_wake_up_pipe replaced by semaphore like it is done
      	for the other wake_up_pipe
      
      	* config.h.win32.in : added HAVE_INT64_AND_I64
      	* glibconfig.h.win32.in : G_MAXSIZE .. G_M??INT64,
      	and typedef for GPid
      
      	* test/env-test.c : don't let the local log function
      	collide in namespace with standard C
      fc9afe0d
  7. 08 Aug, 2003 1 commit
  8. 07 Aug, 2003 1 commit
    • Matthias Clasen's avatar
      Add tests for '=' in names and values. · 96838a7a
      Matthias Clasen authored
      2003-08-07  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/env-test.c: Add tests for '=' in names and values.
      
      	* glib/gutils.c (g_setenv, g_unsetenv): Check that the variable name doesn't contain '='. Add a
      	declaration for environ.  (#119338)
      96838a7a
  9. 28 Jul, 2003 1 commit
  10. 26 Jul, 2003 1 commit