Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/x11-wm/wmakerconf/files/patch-src_misc.c
19289 views
1
--- src/misc.c.orig 2004-12-05 01:49:32 UTC
2
+++ src/misc.c
3
@@ -482,9 +482,9 @@ copy_file (const char *dst, const char *src)
4
if (dir) /* directory is destination */
5
{
6
closedir (dir);
7
- if (streq (dst, g_dirname (src)))
8
+ if (streq (dst, g_path_get_dirname (src)))
9
return 0;
10
- dst_name = g_strconcat (dst, "/", g_basename (src), NULL);
11
+ dst_name = g_strconcat (dst, "/", g_path_get_basename (src), NULL);
12
}
13
else
14
dst_name = g_strdup (dst);
15
16