From 6d4e284ab199fbab2764ebb3c7d1560ac2ca2cb3 Mon Sep 17 00:00:00 2001 From: Keenan Lang Date: Tue, 2 Sep 2014 17:21:42 -0500 Subject: [PATCH] Added note to fixme comment to state that a function is relying on its current setup. --- src/libCom/macLib/macCore.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libCom/macLib/macCore.c b/src/libCom/macLib/macCore.c index a7e5fe887..f6f7218b4 100644 --- a/src/libCom/macLib/macCore.c +++ b/src/libCom/macLib/macCore.c @@ -253,7 +253,11 @@ epicsShareAPI macPutValue( /* handle NULL value case: if name was found, delete entry (may be several entries at different scoping levels) */ if ( value == NULL ) { - /* FIXME: shouldn't be able to delete entries from lower scopes */ + /* + * FIXME: shouldn't be able to delete entries from lower scopes + * NOTE: when this is changed, this functionality of removing + * a macro from all scopes will still be needed by iocshEnvClear + */ while ( ( entry = lookup( handle, name, FALSE ) ) != NULL ) { delete( handle, entry );