Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
e3-require
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESS EPICS Environment
wrappers
e3-require
Commits
58fce33c
Commit
58fce33c
authored
2 years ago
by
Anders Lindh Olsson
Browse files
Options
Downloads
Plain Diff
Merge branch 'more-cleanup' into 'master'
More cleanup See merge request e3/e3-require!112
parents
2d575f3d
4fc8d2a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!112
More cleanup
Pipeline
#122764
passed with warnings
2 years ago
Stage: check
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
require-ess/src/require.c
+0
-36
0 additions, 36 deletions
require-ess/src/require.c
with
0 additions
and
36 deletions
require-ess/src/require.c
+
0
−
36
View file @
58fce33c
/* Copyright (C) 2020 Dirk Zimoch */
/* Copyright (C) 2020-2022 European Spallation Source, ERIC */
/*
* ld - load code dynamically
*
* $Author: zimoch $
* $ID$
* $Date: 2015/06/29 09:47:30 $
*
* DISCLAIMER: Use at your own risc and so on. No warranty, no refund.
*/
#ifdef __unix
/* for vasprintf and dl_iterate_phdr */
#ifndef _GNU_SOURCE
...
...
@@ -107,16 +97,6 @@ int requireDebug;
#define LIBDIR "lib" OSI_PATH_SEPARATOR
#define TEMPLATEDIR "db"
// #define TOSTR(s) TOSTR2(s)
// #define TOSTR2(s) #s
// const char epicsRelease[] =
// TOSTR(EPICS_VERSION)"."TOSTR(EPICS_REVISION)"."TOSTR(EPICS_MODIFICATION);
// #ifndef T_A
// #error T_A not defined: Compile with USR_CFLAGS += -DT_A='"${T_A}"'
// #endif
// const char targetArch[] = T_A;
#ifndef OS_CLASS
#error OS_CLASS not defined: Try to compile with USR_CFLAGS += -DOS_CLASS='"${OS_CLASS}"'
#endif // OS_CLASS
...
...
@@ -289,10 +269,6 @@ static int setupDbPath(const char *module, const char *dbdir) {
static
int
getRecordHandle
(
const
char
*
namepart
,
short
type
,
long
minsize
,
DBADDR
*
paddr
)
{
/*
#define PVNAME_STRINGSZ 61
defined in EPICS_BASE/include/dbDefs.h
*/
char
recordname
[
PVNAME_STRINGSZ
]
=
""
;
long
dummy
=
0L
;
long
offset
=
0L
;
...
...
@@ -897,18 +873,6 @@ static int handleDependencies(const char *module, char *depfilename) {
end
=
rversion
;
/* find end of version */
while
(
*
end
&&
!
isspace
((
unsigned
char
)
*
end
))
end
++
;
/* add + to numerial versions if not yet there */
/*
ESS would like to use the MATCH version only, not HIGHER.
In order to touch the PSI code mininaly, disable add + from VERSION from Dep
file. At the same time, ESS use the X.X.X instead of X.X. Wednesday, May 2
00:12:18 CEST 2018, jhlee
*/
/*
if (*(end-1) != '+' && strspn(rversion, "0123456789.") ==
(size_t)(end-rversion)) *end++ = '+';
*/
/* terminate version */
*
end
=
0
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment