Browse code

Patch for OS/2

git-svn: trunk@1210

Nigel Horne authored on 2004/12/22 01:52:45
Showing 1 changed files
... ...
@@ -16,6 +16,9 @@
16 16
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  *
18 18
  * $Log: blob.c,v $
19
+ * Revision 1.29  2004/12/21 16:52:45  nigelhorne
20
+ * Patch for OS/2
21
+ *
19 22
  * Revision 1.28  2004/12/21 16:42:10  nigelhorne
20 23
  * Patch for OS/2
21 24
  *
... ...
@@ -86,7 +89,7 @@
86 86
  * Change LOG to Log
87 87
  *
88 88
  */
89
-static	char	const	rcsid[] = "$Id: blob.c,v 1.28 2004/12/21 16:42:10 nigelhorne Exp $";
89
+static	char	const	rcsid[] = "$Id: blob.c,v 1.29 2004/12/21 16:52:45 nigelhorne Exp $";
90 90
 
91 91
 #if HAVE_CONFIG_H
92 92
 #include "clamav-config.h"
... ...
@@ -527,7 +530,7 @@ fileblobSetFilename(fileblob *fb, const char *dir, const char *filename)
527 527
 		snprintf(stub, sizeof(stub), "%s%s", fullname, suffix);
528 528
 #ifdef	C_LINUX
529 529
 		rename(stub, fullname);
530
-#elif	defined(defined(C_CYGWIN) || defined(C_INTERIX) || defined(C_OS2)
530
+#elif	defined(C_INTERIX) || defined(C_OS2)
531 531
 		if(cli_filecopy(stub, filename) == 0)
532 532
 			unlink(stub);
533 533
 #else