Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Иван Мажукин
mpd
Commits
2becf792
Commit
2becf792
authored
Dec 21, 2017
by
Ilya ilyxa Tyshchenko
Committed by
Max Kellermann
Dec 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct action for compile on Solaris 11.3 X86
parent
43ec96d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
NEWS
NEWS
+1
-0
WStringAPI.hxx
src/util/WStringAPI.hxx
+6
-0
No files found.
NEWS
View file @
2becf792
ver 0.20.14 (not yet released)
* database
- simple: fix file corruption in the presence of mount points
* fix Solaris build failure
ver 0.20.13 (2017/12/18)
* output
...
...
src/util/WStringAPI.hxx
View file @
2becf792
...
...
@@ -106,6 +106,8 @@ UnsafeCopyStringP(wchar_t *dest, const wchar_t *src) noexcept
/* emulate wcpcpy() */
UnsafeCopyString
(
dest
,
src
);
return
dest
+
StringLength
(
dest
);
#elif defined(__sun) && defined (__SVR4)
return
std
::
wcpcpy
(
dest
,
src
);
#else
return
wcpcpy
(
dest
,
src
);
#endif
...
...
@@ -140,7 +142,11 @@ gcc_malloc gcc_nonnull_all
static
inline
wchar_t
*
DuplicateString
(
const
wchar_t
*
p
)
{
#if defined(__sun) && defined (__SVR4)
return
std
::
wcsdup
(
p
);
#else
return
wcsdup
(
p
);
#endif
}
#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