1. 19 Dec, 2002 1 commit
  2. 18 Dec, 2002 7 commits
  3. 17 Dec, 2002 1 commit
    • Tor Lillqvist's avatar
      Improvement based on suggestion by Thorsten Maerz: · 10d5085c
      Tor Lillqvist authored
      2002-12-17  Tor Lillqvist  <tml@iki.fi>
      
      	Improvement based on suggestion by Thorsten Maerz:
      
      	* glib/giowin32.c (struct _GIOWin32Channel): Don't need thread_handle.
      
      	(create_thread): We can close thread handle right away, it isn't
      	used for anything.
      
      	(read_thread, select_thread): Thus, don't close it here.
      
      	Fix #57690, partial fix for #57689:
      
      	* glib/giowin32.c (g_io_win32_set_flags): Don't set the GError,
      	instead call g_warning().
      
      	(g_io_win32_fd_get_flags_internal): New function, sets the
      	is_readable, is_writeable and is_seekable flags based on the
      	actual access modes of the underlying Win32 HANDLE, by trying
      	Win32 ReadFile() and WriteFile() of zero bytes, and
      	PeekNamedPipe(). Should work for disk files and pipes. For devices
      	(consoles) unfortunately not.
      
      	(g_io_win32_fd_get_flags): Don't set the
      	G_IO_FLAG_IS_{READ,WRITE}ABLE flags, g_io_channel_get_flags()
      	already does. Call g_io_win32_fd_get_flags_internal() to set the
      	is_* flags.
      
      	(g_io_win32_msg_get_flags, g_io_win32_sock_get_flags): Splice the
      	generic g_io_win32_get_flags() into these specific functions, as
      	they need to do different things. Not implemented yet, though.
      
      	(g_io_channel_win32_new_fd_internal): New function, to avoid
      	duplicate fstat() calls. Most code from g_io_channel_win32_new_fd()
      	moved here. Call g_io_win32_fd_get_flags_internal() to set the
      	is_* flags.
      
      	(g_io_channel_win32_new_fd, g_io_channel_unix_new): Call
      	g_io_channel_win32_new_fd_internal().
      
      	(g_io_win32_no_seek): Remove. Don't set is_seekable for those
      	channel types.
      10d5085c
  4. 16 Dec, 2002 7 commits
  5. 15 Dec, 2002 12 commits
  6. 14 Dec, 2002 1 commit
  7. 13 Dec, 2002 4 commits
    • Owen Taylor's avatar
      Fixes from Johannes Stezenbach · 9d4af571
      Owen Taylor authored
      Thu Dec 12 23:08:29 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes from Johannes Stezenbach
      
              * configure.in: When adding extra libraries to $LIBS for
              tests, always put them at the front, since that's how
              they'll be used in the actual Makefiles.
      
              * configure.in: Add a couple of missing ','s in AC_LINK_IFELSE()
      
              * m4macros/glib-gettext.m4: Remove a stray setting of $LIBS.
      9d4af571
    • Owen Taylor's avatar
      Allow not setting glib_cv_long_long_format when cross-compiling since we · 3c50d7bd
      Owen Taylor authored
      Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Allow not setting glib_cv_long_long_format
              when cross-compiling since we assume other things that
              will cause us to pull in Trio anyways.
      
              * configure.in: long_long_format is always ll for trio.
      
              * configure.in: Error out if --disable-trio is specified
              but the C library doesn't have the necessary features.
      3c50d7bd
    • Owen Taylor's avatar
      long_long_format is always ll for trio. · d852c710
      Owen Taylor authored
      Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: long_long_format is always ll for trio.
      
              * configure.in: Error out if --disable-trio is specified
              but the C library doesn't have the necessary features.
      d852c710
    • Matthias Clasen's avatar
      Add -lm for pow(). · 68468ee1
      Matthias Clasen authored
      	* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
      68468ee1
  8. 12 Dec, 2002 7 commits