diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-05-12 21:05:59 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-05-12 21:05:59 +0000 |
commit | ba2dacab305c598cd4c34a604f8e276bf5bab5ff (patch) | |
tree | 78670a0139bf4d5ace617b29b7eba82bbc74d602 /fs/ntfs/util.c | |
parent | b77bf69998121e689c5e86cc5630d39a0a9ee6ca (diff) |
Merge with Linux 2.3.99-pre7 and various other bits.
Diffstat (limited to 'fs/ntfs/util.c')
-rw-r--r-- | fs/ntfs/util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ntfs/util.c b/fs/ntfs/util.c index e0f9b2362..8f4fc6ca8 100644 --- a/fs/ntfs/util.c +++ b/fs/ntfs/util.c @@ -267,6 +267,8 @@ int ntfs_uni_strncmp(short int* a,short int *b,int n) return -1; if(b[i]<a[i]) return 1; + if (a[i] == 0) + return 0; } return 0; } @@ -282,6 +284,8 @@ int ntfs_ua_strncmp(short int* a,char* b,int n) return -1; if(b[i]<NTFS_GETU16(a+i)) return 1; + if (b[i] == 0) + return 0; } return 0; } |