pidgin: c2c0e69d: Remove wpurple_rename(). I suspect nobo...

datallah at pidgin.im datallah at pidgin.im
Fri Aug 26 15:30:42 EDT 2011


----------------------------------------------------------------------
Revision: c2c0e69d4f4081d4e5c60c2bab7b1a3e6d2f896a
Parent:   4cff640f1f3eb80b9c5e2bbd9be45bbdc2788b90
Author:   datallah at pidgin.im
Date:     08/26/11 15:26:33
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c2c0e69d4f4081d4e5c60c2bab7b1a3e6d2f896a

Changelog: 

Remove wpurple_rename().  I suspect nobody actually ever used it directly

Changes against parent 4cff640f1f3eb80b9c5e2bbd9be45bbdc2788b90

  patched  libpurple/win32/libc_interface.c
  patched  libpurple/win32/libc_interface.h
  patched  libpurple/win32/libc_internal.h

-------------- next part --------------
============================================================
--- libpurple/win32/libc_interface.c	e853652c1abfe43443299a471b799dc2ef162958
+++ libpurple/win32/libc_interface.c	acbf8519bca23d1a7e42424f578f1b44f4e4fe36
@@ -467,12 +467,6 @@ int wpurple_gettimeofday(struct timeval 
 	return res;
 }
 
-/* stdio.h */
-
-int wpurple_rename (const char *oldname, const char *newname) {
-	return g_rename(oldname, newname);
-}
-
 /* time.h */
 
 struct tm * wpurple_localtime_r (const time_t *time, struct tm *resultp) {
============================================================
--- libpurple/win32/libc_interface.h	ea23c9702eec172f10e3e17347b8bdea325e60a2
+++ libpurple/win32/libc_interface.h	63e5f7941ec5ef222117a87ff410bb209de2a5d4
@@ -135,7 +135,7 @@ wpurple_gettimeofday( timeval, timezone 
 #define vsnprintf _vsnprintf
 
 #define rename( oldname, newname ) \
-wpurple_rename( oldname, newname )
+g_rename( oldname, newname )
 
 /* sys/stat.h */
 #define fchmod(a,b)
============================================================
--- libpurple/win32/libc_internal.h	baffee0cc7987bf2a86f9e4e8df3c77f7bc31167
+++ libpurple/win32/libc_internal.h	4787386a3c56f2bcdf11219d5e4dbb78d5ec4262
@@ -141,9 +141,6 @@ int wpurple_gethostname(char *name, size
 int wpurple_gethostname(char *name, size_t size);
 
 
-/* stdio.h */
-int wpurple_rename(const char *oldname, const char *newname);
-
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */


More information about the Commits mailing list