NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/50176: make(1) prerequisite not assigned to target if target has ./ prefix



Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
 |The following reply was made to PR bin/50176; it has been noted by GNATS.
 |Date: Wed, 26 Aug 2015 23:21:10 +0200
 | On Wed, Aug 26, 2015 at 01:10:02PM +0000, Steffen Nurpmeso wrote:
 |>| On Wed, Aug 26, 2015 at 11:35:02AM +0000, sdaoden%yandex.com@localhost wrote:
 |>|>>Fix:
 |>|> A basename(3) call is missing somewhere. 
 |>| 
 |>| make is not supposed to mangle path names.
 |>  
 |>  Whatever bmake is about to do, ./f and f are the same file and
 |>  should thus be treated likewise, of course, of course.
 | 
 | But they are not the same thing for make. "f" as target is searched
 | using .PATH, "./" as target is considered a resolved relative path.

Fine you know the code so good, then you ca easily fix this :)
Ah,.. i'm good in.

--steffen



Home | Main Index | Thread Index | Old Index