Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
- Use properly size_t when needed
- introducing env_t (char **): now use &dst for creation/updating of environments instead of return value of functions. This makes it easier to have a few additions in a row etc. - make sure when input whitelist and/or src is null everything works as expected: new environment should be created and initialized to empty, old environment should be left unchanged. - make sure environ.h is effectively included once using a #ifndef
- added new function setenv_dst() adding a name, value pair to the dst environment, similar to add_namevalue() - check explicitly that whitelists aren't NULL, which lead to a segfault...
We're not in 2004... Changed year to 2010
No copyright text for us, only EGEE allowed (instructions from Francesco).
- Added a getenv for 'external' environments - no more pointer arithmetics...
- fixed a few initialization (valgrind) problems. - updated comments: remarks on strdup/putenv etc.
- added a number of new functions to: add single pairs to external environment, put some general stuff in special functions, - Fixed a few memory leaks, probably none left (-:
- strarrlen returns NULL when argument is NULL (not just when list is empty). This is convenient...
environ.c / environ.h Provides methods to safely backup the environment, to clear the current environment and to re-set certain parts from the backup into it.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
grid.support@nikhef.nl | ViewVC Help |
Powered by ViewVC 1.1.28 |