Ed Maste <[EMAIL PROTECTED]> writes:
> Right now config(8) calls realpath("../..", ... to find the src path
> to write into the kernel Makefile.  I want to change this to use $PWD
> with the last two path components removed, assuming it's the same dir
> as ../.. .

I'm worried that your patch assumes that $PWD is present and correct,
for which there is no guarantee.  What happens if you use getcwd()
instead of getenv("PWD")?

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to