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
c3398b7e
Commit
c3398b7e
authored
Mar 27, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Move string functions to libwine_port.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b278caf1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
Makefile.in
libs/port/Makefile.in
+1
-0
string.c
libs/port/string.c
+1
-2
Makefile.in
libs/wine/Makefile.in
+1
-2
port.c
libs/wine/port.c
+3
-0
No files found.
libs/port/Makefile.in
View file @
c3398b7e
...
...
@@ -101,6 +101,7 @@ C_SRCS = \
sortkey.c
\
spawn.c
\
statvfs.c
\
string.c
\
strnlen.c
\
symlink.c
\
usleep.c
\
...
...
libs/
wine
/string.c
→
libs/
port
/string.c
View file @
c3398b7e
...
...
@@ -23,7 +23,6 @@
#include <limits.h>
#include <stdio.h>
#define WINE_UNICODE_INLINE
/* nothing */
#include "wine/unicode.h"
int
strcmpiW
(
const
WCHAR
*
str1
,
const
WCHAR
*
str2
)
...
...
@@ -473,7 +472,7 @@ int vsnprintfW(WCHAR *str, size_t len, const WCHAR *format, va_list valist)
*
fmta
=
'\0'
;
if
(
*
iter
==
'a'
||
*
iter
==
'A'
||
*
iter
==
'e'
||
*
iter
==
'E'
||
*
iter
==
'f'
||
*
iter
==
'F'
||
*
iter
==
'f'
||
*
iter
==
'F'
||
*
iter
==
'g'
||
*
iter
==
'G'
)
sprintf
(
bufaiter
,
fmtbufa
,
va_arg
(
valist
,
double
));
else
...
...
libs/wine/Makefile.in
View file @
c3398b7e
...
...
@@ -6,8 +6,7 @@ C_SRCS = \
ldt.c
\
loader.c
\
mmap.c
\
port.c
\
string.c
port.c
EXTRA_OBJS
=
version.o
...
...
libs/wine/port.c
View file @
c3398b7e
...
...
@@ -25,6 +25,7 @@
#include <string.h>
#include <sys/types.h>
#define WINE_UNICODE_INLINE
/* nothing */
#include "wine/unicode.h"
#include "wine/library.h"
...
...
@@ -33,6 +34,8 @@
#ifndef __ANDROID__
const
void
*
libwine_port_functions
[]
=
{
strtolW
,
vsnprintfW
,
wine_compare_string
,
wine_cp_enum_table
,
wine_cp_get_table
,
...
...
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