2006-01-08 22:42:41 +01:00
|
|
|
$NetBSD: patch-ab,v 1.2 2006/01/08 21:42:42 joerg Exp $
|
2003-06-05 03:00:45 +02:00
|
|
|
|
|
|
|
--- xfers.cpp.orig 2003-05-31 11:54:02.000000000 -0400
|
|
|
|
+++ xfers.cpp 2003-05-31 11:54:27.000000000 -0400
|
|
|
|
@@ -30,6 +30,9 @@
|
|
|
|
#define IS_VALID(x) (m_validbf[(x)>>3]&(1<<(x&7)))
|
|
|
|
#define SET_VALID(x) m_validbf[(x)>>3]|=(1<<(x&7))
|
|
|
|
|
2006-01-08 22:42:41 +01:00
|
|
|
+#if defined(__NetBSD__) || defined(__DragonFly__)
|
2003-06-05 03:00:45 +02:00
|
|
|
+#define RemoveDirectory(x) rmdir(x)
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
XferSend::XferSend(C_MessageQueueList *mql,T_GUID *guid, C_FileSendRequest *req, char *fn)
|
|
|
|
{
|