[PATCH] config: improve TODO comment for directory synchronization

MANJEET YADUVANSHI <[email protected]> Fri, 10 Apr 2026 22:11:13 +0530
Newsgroups gmane.comp.video.videolan.vlc.devel
Message-ID <CAJP-peRD-zoQy8Pp5+bV=srOkVHThf-MJDj0smuddjWxg4OU0A@mail.gmail.com>
From ffafb8a8bcaadf39566cb8690c28cdd06f0a2d08 Mon Sep 17 00:00:00 2001
From: Manjeet Yaduvanshi <[email protected]>
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
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel