aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-12-21 17:49:31 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-12-21 17:49:31 +0530
commit988a3dd62145ff49a631837a7006cdf73bcadbe8 (patch)
tree780e6a90f8aec42388a47605f22ac36a1eee8132 /scripts
parent6f4ab8e3dae7e08507e1be2faeae13e0d824f347 (diff)
downloadnnn-988a3dd62145ff49a631837a7006cdf73bcadbe8.tar.gz
Ignore punctuation marks in file name compare. Fix xstrcmp().
1. File name comparison method: - initially ignore white space and punctuation characters - run test for numeric values - if the remaining substrings match in case-insensitive compare, compare case - if they still match, see which one has more prefix symbols - if they still match, run a case-sensitive compare on complete strings 2. Fixed xstrcmp() to return diff instead of 0 and -1.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions