am 9f0fa1f4: Merge branch \'eclair-mr2\' of ssh://android-git.corp.google.com:29418/platform/frameworks/base into eclair-mr2
Merge commit '9f0fa1f4c1ed8499bf53479cf51c440a8f665d5e' into eclair-mr2-plus-aosp * commit '9f0fa1f4c1ed8499bf53479cf51c440a8f665d5e': Apparently strlcpy is not part of a standard linux distribution... Unbreaking the sim build.
This commit is contained in:
@@ -74,7 +74,8 @@ OMX_ERRORTYPE OMXSoftwareCodecsPlugin::enumerateComponents(
|
||||
return OMX_ErrorNoMore;
|
||||
}
|
||||
|
||||
strlcpy(name, kComponentInfos[index].mName, size);
|
||||
strncpy(name, kComponentInfos[index].mName, size - 1);
|
||||
name[size - 1] = '\0';
|
||||
|
||||
return OMX_ErrorNone;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user