comparison libpurple/win32/libc_interface.c @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents b30d7c76db03
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
509 } 509 }
510 510
511 return res; 511 return res;
512 } 512 }
513 513
514 /* stdio.h */
515
516 int wpurple_rename (const char *oldname, const char *newname) {
517 return g_rename(oldname, newname);
518 }
519
520 /* time.h */ 514 /* time.h */
521 515
522 struct tm * wpurple_localtime_r (const time_t *time, struct tm *resultp) { 516 struct tm * wpurple_localtime_r (const time_t *time, struct tm *resultp) {
523 struct tm* tmptm; 517 struct tm* tmptm;
524 518
1089 } 1083 }
1090 1084
1091 purple_debug_warning("wpurple", "could not find a match for Windows timezone \"%s\"\n", tzname); 1085 purple_debug_warning("wpurple", "could not find a match for Windows timezone \"%s\"\n", tzname);
1092 return ""; 1086 return "";
1093 } 1087 }
1094
1095 int wpurple_g_access (const gchar *filename, int mode);
1096 /**
1097 * @deprecated - remove for 3.0.0
1098 */
1099 int
1100 wpurple_g_access (const gchar *filename, int mode)
1101 {
1102 return g_access(filename, mode);
1103 }
1104
1105