Re: [evolution-patches] camel-file-utils.c win32 diff
- From: Parthasarathi Susarla <sparthasarathi novell com>
- To: Tor Lillqvist <tml novell com>
- Cc: patches <evolution-patches gnome org>
- Subject: Re: [evolution-patches] camel-file-utils.c win32 diff
- Date: Wed, 21 Dec 2005 16:08:00 +0530
Is this committed as yet??
-partha
On Thu, 2005-12-01 at 13:18 +0000, Tor Lillqvist wrote:
> Here's the diff to camel-file-utils.c. The ChangeLog entry first:
>
> 2005-12-01 Tor Lillqvist <tml novell com>
>
> * camel-file-utils.c: Win32 port: Include <winsock2.h>. Use
> g_htonl() and g_ntohl().
> (camel_mkdir): Implement using g_mkdir_with_parents() when
> compiling against GLib 2.8 or later.
> (camel_file_util_safe_filename): Need to encode more unsafe chars
> on Win32.
> (camel_read, camel_write): Not cancellable on Win32. But then
> these functions should be used only with regular files, not
> sockets.
> (camel_read_socket, camel_write_socket): New functions, to be used
> for sockets. On Unix just call camel_read() and camel_write(). On
> Win32 use recv() and write(). read() and write() can not be used
> on sockets in Windows. They are in the C library, which know
> nothing about sockets, which are in the winsock API.
> (camel_file_util_savename): Clarify doc comment. Use
> g_path_get_dirname() instead of looking for '/'. Use
> g_path_get_basename(), and g_build_filename() to construct the
> savename.
>
> --tml
>
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-patches
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]