[vlc-devel] commit: Comment. ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Oct 24 19:21:56 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 24 20:21:45 2009 +0300| [36acc9225eeb682ceae55fd9b61ece1239b2122d] | committer: Rémi Denis-Courmont
Comment.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=36acc9225eeb682ceae55fd9b61ece1239b2122d
---
src/config/file.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/config/file.c b/src/config/file.c
index 6770893..89566b2 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 );
More information about the vlc-devel
mailing list