summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/replace/replace.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/lib/replace/replace.c')
-rw-r--r--ctdb/lib/replace/replace.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/ctdb/lib/replace/replace.c b/ctdb/lib/replace/replace.c
index 87e73d001c..cec158be31 100644
--- a/ctdb/lib/replace/replace.c
+++ b/ctdb/lib/replace/replace.c
@@ -10,7 +10,7 @@
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
+ version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -18,8 +18,7 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "replace.h"
@@ -438,6 +437,10 @@ char *rep_mkdtemp(char *template)
}
#endif
+/*****************************************************************
+ Watch out: this is not thread safe.
+*****************************************************************/
+
#ifndef HAVE_PREAD
ssize_t rep_pread(int __fd, void *__buf, size_t __nbytes, off_t __offset)
{
@@ -448,6 +451,10 @@ ssize_t rep_pread(int __fd, void *__buf, size_t __nbytes, off_t __offset)
}
#endif
+/*****************************************************************
+ Watch out: this is not thread safe.
+*****************************************************************/
+
#ifndef HAVE_PWRITE
ssize_t rep_pwrite(int __fd, const void *__buf, size_t __nbytes, off_t __offset)
{