2f588d4a50
pkgsrc changes: - set LICENSE (x11) - add test target - add new NetBSD patches - keep INTERIX patch, not tested Upstream changelog ================== release 1.2.15 fix handling of files > 2GB on Windows. fix handling of symlinks to files owned by root. release 1.2.14 fix fill() function, this fixes DoE and Gutmann modes. new --rcmp mode. use simple mode by default and not Gutmann 35 pass. release 1.2.13 fix handling of OsX resource forks. release-1_2_12 now using SVN on SourceForge. small updates to autotools build files. support Haiku operating system. overwrite POSIX extended attributes. srm has exit code != 0 if removing any file or directory failed. handle alternate data streams on Windows and NTFS. handle hard links on Windows and NTFS. release-1_2_11 Win32 command line wildcard expansion -v -v displays current write position SIGINFO, SIGUSR2 display current write position -x does not cross file system boundaries overwrite block devices release-1_2_10 Mac OsX compiles and works again add DoE wipe mode fix deletion of named pipes/fifos Debian fixes Win32 fixes release-1_2_9 fix deletion of 0 byte files fix handling of files <4096 bytes fix handling of files >2GiB on 32bit OpenBSD compat switch handle OsX ressource fork added some code from OsX port Win32 version
16 lines
393 B
Text
16 lines
393 B
Text
$NetBSD: patch-aa,v 1.2 2016/10/27 19:49:44 kamil Exp $
|
|
|
|
Disable sync() on INTERIX.
|
|
|
|
--- src/rename_unlink.c.orig 2015-02-26 16:12:02.000000000 +0000
|
|
+++ src/rename_unlink.c
|
|
@@ -105,7 +105,9 @@ int rename_unlink(const char *path) {
|
|
if (rename(path, new_name) < 0)
|
|
return -1;
|
|
|
|
+#ifndef __INTERIX
|
|
sync();
|
|
+#endif
|
|
|
|
/* check the new name */
|
|
if (lstat(new_name, &statbuf) < 0) {
|