Ignore:
Timestamp:
Dec 22, 2010, 7:04:11 AM (11 years ago)
Author:
charles
Message:

(trunk gtk) #3844 "error popup when adding a relative path" -- fixed. initial patch by ijuxda.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r11548 r11574  
    15881588}
    15891589
     1590tr_bool
     1591tr_is_same_file( const char * filename1, const char * filename2 )
     1592{
     1593    struct stat sb1, sb2;
     1594
     1595    return !stat( filename1, &sb1 )
     1596        && !stat( filename2, &sb2 )
     1597        && ( sb1.st_dev == sb2.st_dev )
     1598        && ( sb1.st_ino == sb2.st_ino );
     1599}
     1600
    15901601/***
    15911602****
Note: See TracChangeset for help on using the changeset viewer.