replace calls to strcmp() with a u_strcmp() function that uses only
authorAndrew Tridgell <tridge@samba.org>
Mon, 1 Jun 1998 13:39:54 +0000 (13:39 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 1 Jun 1998 13:39:54 +0000 (13:39 +0000)
commitaa9b77a56c302461e373cf447672aa93adff3130
tree155ada5773374a917f216ed2b6a835c0e169c189
parentb72f24c7190fde1c15662d52c8d62789bd2086ad
replace calls to strcmp() with a u_strcmp() function that uses only
unsigned comparisons. Transferring files between two machines that
treated strcmp() differently led to the files being given the wrong
name at the destination if the filenames had characters > 128 (such as
Kanji characters) and the source and destination machines treated
strcmp() differently (ie. one treated strings as signed and the other
as unsigned).

We now treat all string comparisons for file list sorting as unsigned.
flist.c
util.c