mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3-lib Replace StrCaseCmp() with strcasecmp_m()
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
This commit is contained in:
@ -614,7 +614,7 @@ static int streams_xattr_rename(vfs_handle_struct *handle,
|
||||
}
|
||||
|
||||
/* Don't rename if the streams are identical. */
|
||||
if (StrCaseCmp(smb_fname_src->stream_name,
|
||||
if (strcasecmp_m(smb_fname_src->stream_name,
|
||||
smb_fname_dst->stream_name) == 0) {
|
||||
goto done;
|
||||
}
|
||||
|
Reference in New Issue
Block a user