Changeset 6813 for trunk/ARBDB/adstring.cxx
- Timestamp:
- 09/09/10 20:23:50 (21 months ago)
- Files:
-
- 1 modified
-
trunk/ARBDB/adstring.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ARBDB/adstring.cxx
r6812 r6813 1953 1953 } 1954 1954 1955 int GBS_strscmp(const char *s1, const char *s2) {1956 int cmp = 0;1957 size_t idx = 0;1958 while (!cmp) {1959 if (!s1[idx] || !s2[idx]) break;1960 cmp = s1[idx] - s2[idx];1961 ++idx;1962 }1963 return cmp;1964 }1965 1966 1955 const char *GBS_readable_size(unsigned long long size) { 1967 1956 // return human readable size information
