make-alpha
[Top][All Lists]
Advanced

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

Re: Possible Incorrect Pointer Reference in variable.c


From: Jon Forrest
Subject: Re: Possible Incorrect Pointer Reference in variable.c
Date: Mon, 27 Sep 2021 14:54:37 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.1.1



On 9/27/21 1:44 PM, Paul Eggert wrote:

I guess Jon is so used to Java-like languages that he's not appreciating that this is C and v.fileinfo is a struct not a pointer so there's no bug here.

As usual, Paul is right. As a learning exercise I'm hand translating
gmake into another language. For some reason, I indeed made v.fileinfo
a pointer. You both have politely pointed out the error of my ways.

Sorry for the noise.

Jon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]