From: RĂ©mi Denis-Courmont Date: Sat, 24 Oct 2009 17:21:45 +0000 (+0300) Subject: Comment. X-Git-Tag: 1.1.0-ff~2724 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=36acc9225eeb682ceae55fd9b61ece1239b2122d;p=vlc Comment. --- diff --git a/src/config/file.c b/src/config/file.c index 6770893723..89566b2127 100644 --- a/src/config/file.c +++ b/src/config/file.c @@ -119,7 +119,8 @@ static FILE *config_OpenConfigFile( vlc_object_t *p_obj ) free( psz_readme ); } /* Remove the old configuration file so that --reset-config - * can work properly. */ + * can work properly. Fortunately, Linux allows removing + * open files - with most filesystems. */ unlink( psz_old ); } free( psz_old );