LCDproc development and user support list

Text archives Help


[Lcdproc] [PATCH] MtxOrb.c for both 0.4.5 & 0.5


Chronological Thread 
  • From: joris AT robijn.net (Joris Robijn)
  • Subject: [Lcdproc] [PATCH] MtxOrb.c for both 0.4.5 & 0.5
  • Date: Wed Sep 15 18:57:02 2004

On 15 Sep 2004 at 19:39, Chris Lansley wrote:

>
> No worries - it's better to voice your concerns than not.
>
> I must say I don't like that config function - it might be worth adding a
> comment next to every call just in case!

You should never simply propagate a string from a config_* function to a
calling function. If you want to own a string resulting from a config
function you should strdup() the returned string, or copy it or
something. Read the comments in the configfile.h file for more info.

Joris

--
Joris Robijn
<joris AT robijn.net>
Mobile: +31 6 288 41 964

// To understand recursion, we must first understand
recursion





Archive powered by MHonArc 2.6.18.

Top of page