Thread (1 message) 1 message, 1 author, 2008-01-07

Re: [PATCH 2/3] Handle absolute pathnames correctly in dtc_open_file.

From: Jon Loeliger <hidden>
Date: 2008-01-07 15:25:59

So, like, the other day Scott Wood mumbled:
On Sun, Jan 06, 2008 at 02:37:16PM +1100, David Gibson wrote:
quoted
quoted
 out:
+	free((void *)file->dir);
That cast shouldn't be there.
It generates a constness warning otherwise.  I was on the fence over
whether to just remove the constness (even though the data is never
modified during its lifetime); would that be preferable?
The earlier patch was applied for functionality reasons.
If needed, a follow-up patch to sort this out is still welcome.

jdl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help