Difference between revisions of "TODO"

Jump to navigation Jump to search
160 bytes added ,  21:22, 3 May 2010
Line 74: Line 74:
** backend specific stuff into ??? (maybe new namespace "Backends" ?)  not sure about this one.
** backend specific stuff into ??? (maybe new namespace "Backends" ?)  not sure about this one.
* Get rid of getenv in as many places as possible. Ideally, we'd only use it to query HOME on Unix systems.
* Get rid of getenv in as many places as possible. Ideally, we'd only use it to query HOME on Unix systems.
* Get rid of any global variable with a non-trivial constructor (see also the [[Portability Guide]]. The GCC option -Wglobal-constructors is highly useful for that (and should eventually be added to our default list of warnings, once we resolved all of these).  
* Get rid of any global variable with a non-trivial constructor (see also the [[Portability Guide]]). The GCC option -Wglobal-constructors is highly useful for that, and should eventually be added to our default list of warnings, once we resolved all of these.
* Add safe variants of strcpy / strcat (like strlcpy/strcat, or strcpy_s / strcat_s, or our own), and replace all strcpy/strcat/strncpy/strncat calls by those.  


==== Iterator handling ====
==== Iterator handling ====
1,079

edits

Navigation menu