Bug#226722: fails to create symlink
On Thu, Jan 08, 2004 at 11:20:09AM +0100, Bastian Blank wrote:
> On Wed, Jan 07, 2004 at 03:39:08PM -0800, Matt Kraai wrote:
> > A patch that fixes it is attached.
>
> the patch is broken, the proper behavior is to ignore non-existant
> source files in symlink mode.
>
> bastian
>
> --
> Spock: We suffered 23 casualties in that attack, Captain.
> Index: coreutils/ln.c
> ===================================================================
> --- coreutils/ln.c (revision 141)
> +++ coreutils/ln.c (working copy)
> @@ -74,7 +74,7 @@
> src_name = src;
> }
>
> - if (stat(*argv, &statbuf)) {
> + if (!(flag & LN_SYMLINK) && stat(*argv, &statbuf)) {
> bb_perror_msg(*argv);
> status = EXIT_FAILURE;
> free(src_name);
Ah, great. Would you please make an upload soon, as this breaks
debian-installer?
--
Matt Kraai kraai@ftbfs.org
Reply to: