r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
[sfrench/samba-autobuild/.git] / source4 / ntvfs / posix / pvfs_streams.c
index 2ee5034736fa31127d130d57c3a13ed8e3d09d4b..3910baadd09ba1ba02e76a8419610a1336f051b8 100644 (file)
@@ -97,7 +97,7 @@ NTSTATUS pvfs_stream_info(struct pvfs_state *pvfs, struct pvfs_filename *name, i
 
        for (i=0;i<streams->num_streams;i++) {
                struct xattr_DosStream *s = &streams->streams[i];
-               if (StrCaseCmp(s->name, name->stream_name) == 0) {
+               if (strcasecmp_m(s->name, name->stream_name) == 0) {
                        name->dos.alloc_size = pvfs_round_alloc_size(pvfs, s->alloc_size);
                        name->st.st_size     = s->size;
                        name->stream_exists = True;
@@ -138,7 +138,7 @@ static NTSTATUS pvfs_stream_update_size(struct pvfs_state *pvfs, struct pvfs_fil
 
        for (i=0;i<streams->num_streams;i++) {
                struct xattr_DosStream *s = &streams->streams[i];
-               if (StrCaseCmp(s->name, name->stream_name) == 0) {
+               if (strcasecmp_m(s->name, name->stream_name) == 0) {
                        s->size       = size;
                        s->alloc_size = pvfs_round_alloc_size(pvfs, size);
                        break;
@@ -216,7 +216,7 @@ NTSTATUS pvfs_stream_delete(struct pvfs_state *pvfs,
 
        for (i=0;i<streams->num_streams;i++) {
                struct xattr_DosStream *s = &streams->streams[i];
-               if (StrCaseCmp(s->name, name->stream_name) == 0) {
+               if (strcasecmp_m(s->name, name->stream_name) == 0) {
                        memmove(s, s+1, (streams->num_streams - (i+1)) * sizeof(*s));
                        streams->num_streams--;
                        break;