Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2008 22:19:35 -0800
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Eitan Adler <eitanadlerlist@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: keeping track of local modifications
Message-ID:  <493381F7.4090301@freebsd.org>
In-Reply-To: <49334A62.7000800@gmail.com>
References:  <4931CB02.9070904@gmail.com> <4932E8CF.9040501@freebsd.org> <49334A62.7000800@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>* Search the source code for "TODO" or "XXX" to find
>>  comments ...
> 
> *slaps self for not thinking of this*
> Thanks for reminding me of this.  I'm now working on
>  * TODO: Make this better, so that "./a//b/./c/" == "a/b/c"
> part of src/usr.bin/tar/util.c
> I found a copy of abspath() in usr.sbin/pkg_install/info/perform.c
> This is the exact function needed to fix the TODO.
> 
> Where should I move the function to so that they could share it?  Should
>  I just copy the function (for some reason I doubt it)?
> realpath(3) is in sys/param.h and stdlib.h
> Should I move the function there?

Ah.  You picked one of mine.  <evil grin>

I'll follow up with you off-list.  ;-)

Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?493381F7.4090301>