Re: file.c issue



Andrew V. Samoilov wrote:
--- file.c~	Mon Oct 18 11:33:35 2004
+++ file.c	Wed Nov  3 20:47:06 2004
@@ -379,11 +379,10 @@ make_symlink (FileOpContext *ctx, const if (ctx->stable_symlinks && *link_target != PATH_SEP) {
 	char *p, *q, *r, *s;
- p = g_strdup (src_path);
-	r = strrchr (p, PATH_SEP);
+	r = strrchr (src_path, PATH_SEP);

r shall be a const char *. This issue has been discussed two months ago in depth.

Roland



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