delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/01/23/16:23:49

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3E305D5A.16693047@phekda.freeserve.co.uk>
Date: Thu, 23 Jan 2003 21:23:38 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: Laurynas Biveinis <laurynas DOT biveinis AT mif DOT vu DOT lt>
CC: djgpp-workers AT delorie DOT com
Subject: Re: Take on __solve_symlinks()
References: <3E286C07 DOT 7040200 AT mif DOT vu DOT lt> <3E2943DA DOT 523770FC AT phekda DOT freeserve DOT co DOT uk> <3E297258 DOT 50906 AT mif DOT vu DOT lt> <3E2A9396 DOT EF36FE73 AT phekda DOT freeserve DOT co DOT uk> <3E305DAB DOT 8090607 AT mif DOT vu DOT lt>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Laurynas Biveinis wrote:
> 
> Richard Dawe wrote:
[snip]
> > The test cases that failed are in the CVS xsymlink test. I haven't added
> > any test cases to that for a while. The tests that fail are the ones that
> > take the current directory, count the number of slashes (n_slashes) and
> > then prepend lots of ".."s to the path without the directory
> > (cwd_without_drive).
> 
> Uhm, I guess I have a problem with my setup here - these test cases
> don't fail for me. Maybe you have some piece of advice?
[snip]
> Test 3: Solving
> c:../../../../../../../devel/djgpp/tests/libc/compat/unistd/test1
> Test 3 passed
[snip]

This test still fails for me.

I removed all the fail* and test* in the test directory, did a cvs update of
the entire tree, make clean && make all, rebuilt the test.

The only change I have in this tree is for fstat and constant inode numbers.
The test doesn't even contain the code for fstat, so I don't think that's the
problem.

Could you try a cvs update, clean and rebuild please? What other diffs do you
have in your tree?

> >>>* symlinks between drives;
> >>
> >>Will see, the problem is that not everybody has multiple drives...
> >
> >
> > Most computers have a floppy drive, don't they?
> 
> So we will require user to insert blank formatted diskette into drive
> A:, won't we? Somehow it does not look reasonable for me :)

Maybe the test "xsymlink" should take a drive specifier. It could then create
a cross-drive symlink to any file on that disk. E.g. c:/temp/foo ->
d:/whatever.

Thanks, bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019