[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] [BUG] apply-changeset printing an error message
From: |
Michael Teichgräber |
Subject: |
[Gnu-arch-users] [BUG] apply-changeset printing an error message |
Date: |
Tue, 08 Mar 2005 00:57:31 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.2 (gnu/linux) |
Hi,
tla apply-changeset CHANGESET
without a `.' for the target directory shows the message
Error encountered accessing directory (Bad address)
Path: (null)
It seems to have been overlooked to specify `target_dir' rather than
argv[2] to arch_check_directory. (Has been observed in
<address@hidden> too.)
Regards,
Michael
--- orig/libarch/cmd-apply-changeset.c
+++ mod/libarch/cmd-apply-changeset.c
@@ -138,7 +138,7 @@
arch_apply_changeset (&report, argv[1], target_dir,
arch_unspecified_id_tagging, arch_inventory_unrecognized, reverse, forward, 0,
0, 0, escape_classes);
arch_check_directory (argv[1], 0);
- arch_check_directory (argv[2], 1);
+ arch_check_directory (target_dir, 1);
if (arch_conflicts_occured (&report))
{
safe_printfmt (2, "%s: conflicts occured\n", argv[0]);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnu-arch-users] [BUG] apply-changeset printing an error message,
Michael Teichgräber <=