Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
xbt_cfg_set_vargs() and xbt_cfg_set() now handle only one variable at a time (they...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 29 Jun 2005 20:56:40 +0000 (20:56 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 29 Jun 2005 20:56:40 +0000 (20:56 +0000)
commit78b7ddcea041887aed58f1c80e4838f1fe5d4728
tree1fa9c8b9fa831d7587ef494eb7a90456c5256c72
parent151516a621d5672ec2ff0c4aeab7600b44ee7080
xbt_cfg_set_vargs() and xbt_cfg_set() now handle only one variable at a time (they used to deal with NULL-terminated lists of arguments, but it was error-prone); Explicit another argument before the vaargs so that module setting function can pass their vaargs to the generic ones (the cfg set is implicit and don't need to be passed as argument in modules, so we can't va_start() on it); fix some error handling errors :-/

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1484 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/xbt/config.c