Ed Maste <emaste@freebsd.org> 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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"