From 784f71409b40a118de7909e0be7fc6e022eab5c2 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Thu, 17 Aug 2006 10:31:52 +0000 Subject: [PATCH] Add a warning note to File::save() git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@573841 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- toolkit/tfile.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolkit/tfile.h b/toolkit/tfile.h index bde30d20..d736dcb9 100644 --- a/toolkit/tfile.h +++ b/toolkit/tfile.h @@ -80,6 +80,12 @@ namespace TagLib { /*! * Save the file and its associated tags. This should be reimplemented in * the concrete subclasses. Returns true if the save succeeds. + * + * \warning On UNIX multiple processes are able to write to the same file at + * the same time. This can result in serious file corruption. If you are + * developing a program that makes use of TagLib from multiple processes you + * must insure that you are only doing writes to a particular file from one + * of them. */ virtual bool save() = 0;