Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
liblongpath
liblongpath-rsync
Commits
f358487f
Commit
f358487f
authored
Jan 04, 2004
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence a compiler warning on Sun OS systems.
parent
a18381ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
getgroups.c
getgroups.c
+1
-1
tls.c
tls.c
+3
-4
No files found.
getgroups.c
View file @
f358487f
...
...
@@ -43,7 +43,7 @@ main(UNUSED(int argc), UNUSED(char *argv[]))
}
for
(
i
=
0
;
i
<
n
;
i
++
)
printf
(
"%
u "
,
list
[
i
]);
printf
(
"%
lu "
,
(
unsigned
long
)
list
[
i
]);
printf
(
"
\n
"
);
return
0
;
...
...
tls.c
View file @
f358487f
...
...
@@ -116,10 +116,9 @@ static void list_file (const char *fname)
/* NB: need to pass size as a double because it might be be
* too large for a long. */
printf
(
"%s %12.0f %6ld.%-6ld %6d %s %s%s
\n
"
,
permbuf
,
(
double
)
buf
.
st_size
,
(
long
)
buf
.
st_uid
,
(
long
)
buf
.
st_gid
,
buf
.
st_nlink
,
printf
(
"%s %12.0f %6ld.%-6ld %6ld %s %s%s
\n
"
,
permbuf
,
(
double
)
buf
.
st_size
,
(
long
)
buf
.
st_uid
,
(
long
)
buf
.
st_gid
,
(
long
)
buf
.
st_nlink
,
datebuf
,
fname
,
linkbuf
);
}
...
...
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