Changeset 10016


Ignore:
Timestamp:
Jan 25, 2010, 5:06:54 AM (12 years ago)
Author:
livings124
Message:

#2765 ignore case when ordering the file list in a newly-generated torrent file

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r9868 r10016  
    1313/* thanks amc1! */
    1414
    15 #include <ctype.h> /* isprint, tolower */
     15#include <ctype.h> /* isprint */
    1616#include <stdio.h>
    1717#include <stdlib.h> /* strtol */
  • trunk/libtransmission/makemeta.c

    r9973 r10016  
    1515#include <stdio.h> /* FILE, stderr */
    1616#include <stdlib.h> /* qsort */
    17 #include <string.h> /* strcmp, strlen */
     17#include <string.h> /* strcmp, strlen, strcasecmp */
    1818
    1919#include <sys/types.h>
     
    111111    const tr_metainfo_builder_file * b = vb;
    112112
    113     return strcmp( a->filename, b->filename );
     113    return strcasecmp( a->filename, b->filename );
    114114}
    115115
Note: See TracChangeset for help on using the changeset viewer.