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
22f54262
Commit
22f54262
authored
Mar 04, 2017
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os: add timingsafe_memcmp to Imake
There might be some library linking missing on platforms that deliver timingsafe_memcmp but I cannot test that here.
parent
65c5d8ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
Imake.tmpl
nx-X11/config/cf/Imake.tmpl
+3
-0
Imakefile
nx-X11/programs/Xserver/os/Imakefile
+7
-2
No files found.
nx-X11/config/cf/Imake.tmpl
View file @
22f54262
...
...
@@ -468,6 +468,9 @@ XCOMM the platform-specific parameters - edit site.def to change
#ifndef HasBasename
#define HasBasename YES
#endif
#ifndef HasTimingsafeMemcmp
#define HasTimingsafeMemcmp NO /* assume not */
#endif
#ifndef HasGetopt
# if !defined(Win32Architecture)
# define HasGetopt YES
...
...
nx-X11/programs/Xserver/os/Imakefile
View file @
22f54262
...
...
@@ -115,17 +115,22 @@ GETPEER_DEFINES = -DHAS_GETPEEREID
# endif
#endif
#if !HasTimingsafeMemcmp
TMEMCMP_SRCS = timingsafe_memcmp.c
TMEMCMP_OBJS = timingsafe_memcmp.o
#endif
BOOTSTRAPCFLAGS =
SRCS = WaitFor.c access.c connection.c io.c $(COLOR_SRCS) \
osinit.c utils.c log.c auth.c mitauth.c secauth.c \
$(XDMAUTHSRCS) $(RPCSRCS) xdmcp.c OtherSources \
xstrans.c $(SNPRINTF_SRCS) $(STRLCAT_SRCS) \
$(REALLOCARRAY_SRCS) xprintf.c
timingsafe_memcmp.c
$(REALLOCARRAY_SRCS) xprintf.c
$(TMEMCMP_SRCS)
OBJS = WaitFor.o access.o connection.o io.o $(COLOR_OBJS) \
osinit.o utils.o log.o auth.o mitauth.o secauth.o \
$(XDMAUTHOBJS) $(RPCOBJS) xdmcp.o OtherObjects \
xstrans.o $(SNPRINTF_OBJS) $(STRLCAT_OBJS) \
$(REALLOCARRAY_OBJS) xprintf.o
timingsafe_memcmp.o
$(REALLOCARRAY_OBJS) xprintf.o
$(TMEMCMP_OBJS)
#if UseMemLeak
MEM_DEFINES = -DMEMBUG
...
...
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