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
80a32d8a
Commit
80a32d8a
authored
9 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
CASTOR-5106 RFE: Improve the const correctness of Cns_chclass()
Fixed.
parent
dce69900
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
h/Cns_api.h
+1
-1
1 addition, 1 deletion
h/Cns_api.h
ns/Cns_chclass.c
+1
-1
1 addition, 1 deletion
ns/Cns_chclass.c
ns/Cns_chclass.man
+1
-1
1 addition, 1 deletion
ns/Cns_chclass.man
with
3 additions
and
3 deletions
h/Cns_api.h
+
1
−
1
View file @
80a32d8a
...
...
@@ -235,7 +235,7 @@ EXTERN_C int Cns_access (const char *, int);
EXTERN_C
int
Cns_accessUser
(
const
char
*
,
int
,
uid_t
,
gid_t
);
EXTERN_C
int
Cns_aborttrans
();
EXTERN_C
int
Cns_apiinit
(
struct
Cns_api_thread_info
**
);
EXTERN_C
int
Cns_chclass
(
const
char
*
,
int
,
char
*
);
EXTERN_C
int
Cns_chclass
(
const
char
*
,
int
,
const
char
*
);
EXTERN_C
int
Cns_chdir
(
const
char
*
);
EXTERN_C
int
Cns_chmod
(
const
char
*
,
mode_t
);
EXTERN_C
int
Cns_chown
(
const
char
*
,
uid_t
,
gid_t
);
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_chclass.c
+
1
−
1
View file @
80a32d8a
...
...
@@ -16,7 +16,7 @@
#include
"serrno.h"
int
Cns_chclass
(
const
char
*
path
,
int
classid
,
char
*
class_name
)
Cns_chclass
(
const
char
*
path
,
int
classid
,
const
char
*
class_name
)
{
char
*
actual_path
;
int
c
;
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_chclass.man
+
1
−
1
View file @
80a32d8a
...
...
@@ -11,7 +11,7 @@ Cns_chclass \- change class of a CASTOR directory in the name server
.sp
.BI "int Cns_chclass (const char *" path ,
.BI "int " classid ,
.BI "char *" class_name )
.BI "
const
char *" class_name )
.SH DESCRIPTION
.B Cns_chclass
changes the class of a CASTOR directory or file in the name server.
...
...
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