keeping track of local modifications

Tim Kientzle kientzle at freebsd.org
Sun Nov 30 22:19:41 PST 2008


>>* 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


More information about the freebsd-hackers mailing list