Ignore:
Timestamp:
Jun 7, 2010, 2:25:31 PM (12 years ago)
Author:
charles
Message:

(trunk) #3262 "problems with '.' as the first character in a .torrent's filename" -- fixed in trunk for 2.00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r10716 r10736  
    23772377            tr_ptrArrayInsertSorted( folders, tr_strdup( buf ), vstrcmp );
    23782378            for( d = readdir( odir ); d != NULL; d = readdir( odir ) )
    2379                 if( d->d_name && d->d_name[0] != '.' ) /* skip dotfiles */
     2379                if( d->d_name && strcmp( d->d_name, "." ) && strcmp( d->d_name, ".." ) )
    23802380                    walkLocalData( tor, root, buf, d->d_name, torrentFiles, folders, dirtyFolders );
    23812381            closedir( odir );
Note: See TracChangeset for help on using the changeset viewer.