Timestamp:
2019-03-02T15:22:12Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1c481ee
Parents:
951e451
git-author:
Matthieu Riolo <matthieu.riolo@…> (2018-12-29 18:28:21)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-03-02 15:22:12)
Message:

correcting find_command() which returns allocated strings

The old version of find_command() relied on a global variable called
'found'. This variable had to be released after every call on
find_command(). The old version did this immediatly after the call.

The code directly implied that this has to be changed with the following
comment:
'FIXME: Just have find_command() return an allocated string'

This commit removes the global variable, changes the implementation
of find_command() to return an allocated string and adds/removes
certain str_dup() calls to match the new implementation

(No files)

Note: See TracChangeset for help on using the changeset viewer.