=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Add default COM device for DragonFly BSD.
Alexandre Julliard
julliard at winehq.org
Mon Jun 4 13:27:13 CDT 2012
Module: wine
Branch: master
Commit: 1748f0de4ed44beac8a80079c67c2bc2b8c80e18
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1748f0de4ed44beac8a80079c67c2bc2b8c80e18
Author: André Hentschel <nerv at dawncrow.de>
Date: Sat Jun 2 18:54:10 2012 +0200
ntdll: Add default COM device for DragonFly BSD.
---
dlls/ntdll/directory.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index a048e1d..1b60fbe 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -320,6 +320,13 @@ static char *get_default_com_device( int num )
strcpy( ret, "/dev/cuad0" );
ret[strlen(ret) - 1] = '0' + num - 1;
}
+#elif defined(__DragonFly__)
+ ret = RtlAllocateHeap( GetProcessHeap(), 0, sizeof("/dev/cuaa0") );
+ if (ret)
+ {
+ strcpy( ret, "/dev/cuaa0" );
+ ret[strlen(ret) - 1] = '0' + num - 1;
+ }
#else
FIXME( "no known default for device com%d\n", num );
#endif
More information about the wine-cvs
mailing list