[vlc-devel] [PATCH] config: improve TODO comment for directory synchronization

MANJEET YADUVANSHI manjeetyaduvanshi250 at gmail.com
Fri Apr 10 16:41:13 UTC 2026


>From ffafb8a8bcaadf39566cb8690c28cdd06f0a2d08 Mon Sep 17 00:00:00 2001
From: Manjeet Yaduvanshi <manjeetyaduvanshi250 at gmail.com>
Date: Wed, 8 Apr 2026 22:53:36 +0530
Subject: [PATCH] config: improve TODO comment for directory synchronization

---
 src/config/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/file.c b/src/config/file.c
index dc4c6c8e79..6dd914a740 100644
--- a/src/config/file.c
+++ b/src/config/file.c
@@ -489,7 +489,7 @@ int (config_SaveConfigFile) (libvlc_int_t *p_this)
     /* Atomically replace the file... */
     if (vlc_rename (temporary, permanent))
         vlc_unlink (temporary);
-    /* (...then synchronize the directory, err, TODO...) */
+    /* TODO: Synchronize the directory after renaming to ensure persistence */
     /* ...and finally close the file */
     vlc_mutex_unlock (&lock);
 #if !defined (_WIN32) && !defined (__OS2__)
-- 
2.53.0.windows.1


More information about the vlc-devel mailing list