Skip to content

There are compile errors in strdup implementation #113

@tfarina

Description

@tfarina

../confuse.c:118:15: error: use of undeclared identifier 'str'
siz = strlen(str) + 1;
^
../confuse.c:123:15: error: use of undeclared identifier 'str'
memcpy(copy, str, siz);

The fix could be either change the parameter to 'str' or change usage of 'str' in the function body to 's'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions