mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
5a8e0ee0b4
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
14 lines
485 B
C
14 lines
485 B
C
--- src/misc.c.orig 2004-12-05 01:49:32 UTC
|
|
+++ src/misc.c
|
|
@@ -482,9 +482,9 @@ copy_file (const char *dst, const char *src)
|
|
if (dir) /* directory is destination */
|
|
{
|
|
closedir (dir);
|
|
- if (streq (dst, g_dirname (src)))
|
|
+ if (streq (dst, g_path_get_dirname (src)))
|
|
return 0;
|
|
- dst_name = g_strconcat (dst, "/", g_basename (src), NULL);
|
|
+ dst_name = g_strconcat (dst, "/", g_path_get_basename (src), NULL);
|
|
}
|
|
else
|
|
dst_name = g_strdup (dst);
|