CVSROOT:        /cvs/gnome
Module name:    evolution-data-server
Changes by:     tml     05/12/08 01:41:55

Modified files:
        camel          : ChangeLog camel-file-utils.c 

Log message:
2005-12-08  Tor Lillqvist  <[EMAIL PROTECTED]>

* 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. read() and write() are in the C library,
which knows nothing about sockets.
(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.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=evolution-data-server&who=tml&date=explicit&mindate=2005-12-08%2001:40&maxdate=2005-12-08%2001:42

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to