gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] tla changes on an sftp archive?


From: Erik de Castro Lopo
Subject: Re: [Gnu-arch-users] tla changes on an sftp archive?
Date: Wed, 28 Jan 2004 21:05:11 +1100

On Wed, 28 Jan 2004 20:37:29 +1100
Robert Collins <address@hidden> wrote:

> Queer. Where are you calling changes from? The top source dir?

    address@hidden > pwd
    /home/erikd/Proj/project--test--0.1.0--patch-6

> Perhaps you could run in gdb and check the revision and archive strings
> are correct...

In the function arch_cmd_changes:

    (gdb) print tree_root
    $3 = (t_uchar *) 0x8153760 "/home/erikd/Proj/project--test--0.1.0--patch-6"
    (gdb) print tree_arch
    $4 = (t_uchar *) 0x8153840 "address@hidden"
    (gdb) print tree_version
    $5 = (t_uchar *) 0x8153868 "project--test--0.1.0"

The weird thing is that after this line:

    latest_log = arch_highest_patch_level (tree_root, tree_arch, tree_version);

lastest_log is NULL. Digging a little deeper in arch_logs(), log_dir is OK after
the call:

    log_dir = arch_log_dir (tree_root, archive, version);

    if (safe_access (log_dir, F_OK))
       goto leave;

but safe_access returns TRUE causing arch_logs to return an answer of 0.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  address@hidden (Yes it's valid)
+-----------------------------------------------------------+
"If you don't know what you need Windows NT for, you don't need it."
  - Bill Gates




reply via email to

[Prev in Thread] Current Thread [Next in Thread]