file.c issue
Roland Illig
roland.illig at gmx.de
Thu Nov 4 14:19:43 UTC 2004
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
More information about the mc-devel
mailing list