Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
141316af
Commit
141316af
authored
Jun 29, 2016
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xserver/os/log.c: Make sure strlcpy is defined in log.c. Immitate what is done in X.org.
parent
f46af7de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
os.h
nx-X11/programs/Xserver/include/os.h
+7
-0
log.c
nx-X11/programs/Xserver/os/log.c
+1
-0
No files found.
nx-X11/programs/Xserver/include/os.h
View file @
141316af
...
...
@@ -457,6 +457,13 @@ extern void AbortDDX(void);
extern
void
ddxGiveUp
(
void
);
extern
int
TimeSinceLastInputEvent
(
void
);
#ifndef HAVE_STRLCPY
extern
_X_EXPORT
size_t
strlcpy
(
char
*
dst
,
const
char
*
src
,
size_t
siz
);
extern
_X_EXPORT
size_t
strlcat
(
char
*
dst
,
const
char
*
src
,
size_t
siz
);
#endif
/* Logging. */
typedef
enum
_LogParameter
{
XLOG_FLUSH
,
...
...
nx-X11/programs/Xserver/os/log.c
View file @
141316af
...
...
@@ -107,6 +107,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include <stdlib.h>
/* for malloc() */
#include <errno.h>
#include "input.h"
#include "site.h"
#include "opaque.h"
...
...
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