Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e548d408
Commit
e548d408
authored
Aug 05, 2006
by
Tijl Coosemans
Committed by
Alexandre Julliard
Aug 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add FreeBSD default serial port device.
parent
48e1faff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
directory.c
dlls/ntdll/directory.c
+7
-0
No files found.
dlls/ntdll/directory.c
View file @
e548d408
...
...
@@ -175,6 +175,13 @@ static char *get_default_com_device( int num )
strcpy
(
ret
,
"/dev/ttyS0"
);
ret
[
strlen
(
ret
)
-
1
]
=
'0'
+
num
-
1
;
}
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
ret
=
RtlAllocateHeap
(
GetProcessHeap
(),
0
,
sizeof
(
"/dev/cuad0"
)
);
if
(
ret
)
{
strcpy
(
ret
,
"/dev/cuad0"
);
ret
[
strlen
(
ret
)
-
1
]
=
'0'
+
num
-
1
;
}
#else
FIXME
(
"no known default for device com%d
\n
"
,
num
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment