This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/runtime ChangeLog map-gen.c map.c


CVSROOT:	/cvs/systemtap
Module name:	src
Changes by:	hunt@sourceware.org	2005-10-28 19:44:58

Modified files:
	runtime        : ChangeLog map-gen.c map.c 

Log message:
	2005-10-28  Martin Hunt  <hunt@redhat.com>
	
	* map-gen.c (MAP_GET_VAL): Use the _stp_get_*() functions.
	(_stp_map_set_*): When setting to "", don't create
	node if key not found.
	(_stp_map_get_*): Use new MAP_GET_VAL. Return "" when
	string lookups not found.
	
	* map.c (_stp_get_int64): Check args and return
	0 on bad args or wrong type.
	(_stp_get_stat): Ditto.
	(_stp_key_get_int64): Ditto.
	(_stp_get_str): Check args and return
	"bad type" on bad args or wrong type.
	(_stp_key_get_str): Ditto.
	(_new_map_set_str): If setting to "", delete node.
	(_new_map_get_*): Delete. Use _stp_get_*().

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/ChangeLog.diff?cvsroot=systemtap&r1=1.68&r2=1.69
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/map-gen.c.diff?cvsroot=systemtap&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/map.c.diff?cvsroot=systemtap&r1=1.17&r2=1.18


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]