Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
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
epics-modules
require
Commits
62dc71e4
Commit
62dc71e4
authored
18 years ago
by
zimoch
Browse files
Options
Downloads
Patches
Plain Diff
for debugging: mesages before loading
parent
db7145a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
require.c
+2
-2
2 additions, 2 deletions
require.c
with
2 additions
and
2 deletions
require.c
+
2
−
2
View file @
62dc71e4
...
...
@@ -87,6 +87,7 @@ int require(char* lib, char* version)
}
}
errno
=
0
;
printf
(
"loading %s
\n
"
,
libname
);
if
(
ld
(
0
,
0
,
libname
)
==
NULL
)
{
printf
(
"Aborting startup stript.
\n
"
);
...
...
@@ -100,11 +101,11 @@ int require(char* lib, char* version)
shellScriptAbort
();
return
ERROR
;
}
printf
(
"%s loaded
\n
"
,
libname
);
loaded
=
getLibVersion
(
lib
);
if
(
stat
(
dbdname
,
&
filestat
)
!=
ERROR
)
{
/* If file exists */
printf
(
"loading %s
\n
"
,
dbdname
);
if
(
dbLoadDatabase
(
dbdname
,
NULL
,
NULL
)
!=
OK
)
{
taskDelay
(
sysClkRateGet
());
...
...
@@ -112,7 +113,6 @@ int require(char* lib, char* version)
shellScriptAbort
();
return
ERROR
;
}
printf
(
"%s loaded
\n
"
,
dbdname
);
#ifndef BASE_VERSION
{
char
initfunc
[
256
];
...
...
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