Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
dCache
cta
Commits
e703c6f6
Commit
e703c6f6
authored
11 years ago
by
Steven Murray
Committed by
Steven Murray
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added BadAlloc exception and finished AcceptConnectionInterrupted
parent
62fa967e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mediachanger/castorrmc/common/serror.c
+2
-0
2 additions, 0 deletions
mediachanger/castorrmc/common/serror.c
mediachanger/castorrmc/h/serrno.h
+3
-2
3 additions, 2 deletions
mediachanger/castorrmc/h/serrno.h
mediachanger/castorrmc/h/serrno.man
+6
-0
6 additions, 0 deletions
mediachanger/castorrmc/h/serrno.man
with
11 additions
and
2 deletions
mediachanger/castorrmc/common/serror.c
+
2
−
0
View file @
e703c6f6
...
...
@@ -71,6 +71,8 @@ char *sys_serrlist[SEMAXERR-SEBASEOFF+2]=
"Invalid number of arguments"
,
"Already initialized"
,
"Command line not parsed"
,
"Accept connection was interrupted"
,
"Failed to allocate memory"
,
"BAD ERROR NUMBER"
};
...
...
This diff is collapsed.
Click to expand it.
mediachanger/castorrmc/h/serrno.h
+
3
−
2
View file @
e703c6f6
...
...
@@ -82,9 +82,10 @@
#define SEINVALIDNBARGS SEBASEOFF+48
/* Invalid number of arguments */
#define SEALREADYINIT SEBASEOFF+49
/* Already initialized */
#define SECMDLNNOTPRSD SEBASEOFF+50
/* Command line not parsed */
#define SEACCPTCONNINTR SEBASEOFF+51
/* castor::io::acceptConnection() was interrupted */
#define SEACCPTCONNINTR SEBASEOFF+51
/* Accept connection was interrupted */
#define SEBADALLOC SEBASEOFF+52
/* Failed to allocate memory */
#define SEMAXERR SEBASEOFF+5
1
/* Maximum error number */
#define SEMAXERR SEBASEOFF+5
2
/* Maximum error number */
#define SERRNO (serrno - SEBASEOFF)
/* User convenience */
/*
...
...
This diff is collapsed.
Click to expand it.
mediachanger/castorrmc/h/serrno.man
+
6
−
0
View file @
e703c6f6
...
...
@@ -205,6 +205,12 @@ The following error values might be returned by any package:
.TP
.B SECMDLNNOTPRSD
(1050) Command line not parsed
.TP
.B SEACCPTCONNINTR
(1051) Accept connection was interrupted
.TP
.B SEBADALLOC
(1052) Failed to allocate memory
.SH COPYTAPE ERRORS
None yet
...
...
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