mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
#1406: need tr_getDefaultDownloadDir() for consistency between apps
This commit is contained in:
@@ -490,19 +490,6 @@ tr_loadFile( const char * path,
|
||||
return buf;
|
||||
}
|
||||
|
||||
char*
|
||||
tr_getcwd( void )
|
||||
{
|
||||
char buf[2048];
|
||||
*buf = '\0';
|
||||
#ifdef WIN32
|
||||
_getcwd( buf, sizeof( buf ) );
|
||||
#else
|
||||
getcwd( buf, sizeof( buf ) );
|
||||
#endif
|
||||
return tr_strdup( buf );
|
||||
}
|
||||
|
||||
char*
|
||||
tr_basename( const char * path )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user