Re[3]: start time



Hello, Pavel!

> Patch was committed into mc-current and mc-pre.

Thx, can you apply next one?

-- 
Regards,
Andrew V. Samoilov

________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/
src/ChangeLog

	* utilunix.c (mc_realpath) [USE_SYSTEM_REALPATH]: Use realpath().

--- utilunix.c~	Wed Feb  2 09:28:13 2005
+++ utilunix.c	Wed Feb  2 16:23:16 2005
@@ -711,6 +711,9 @@ putenv (char *string)
 char *
 mc_realpath (const char *path, char resolved_path[])
 {
+#ifdef	USE_SYSTEM_REALPATH
+    return realpath (path, resolved_path);
+#else
     char copy_path[PATH_MAX];
     char link_path[PATH_MAX];
     char got_path[PATH_MAX];
@@ -821,4 +824,5 @@ mc_realpath (const char *path, char reso
     *new_path = '\0';
     strcpy (resolved_path, got_path);
     return resolved_path;
+#endif	/* USE_SYSTEM_REALPATH */
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]