Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
eb3bc245
Commit
eb3bc245
authored
Mar 29, 2008
by
Uwe Schulzweida
Browse files
file.c: _WIN32 support
parent
a4b5c9d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/file.c
View file @
eb3bc245
...
...
@@ -1193,7 +1193,8 @@ int fileClose(int fileID)
fprintf
(
stderr
,
" file pointer : %p
\n
"
,
(
void
*
)
fileptr
->
fp
);
fprintf
(
stderr
,
" file mode : %c
\n
"
,
fileptr
->
mode
);
#if ! defined (_WIN32)
if
(
sizeof
(
off_t
)
>
sizeof
(
long
)
)
{
fprintf
(
stderr
,
" file size : %lld
\n
"
,
(
long
long
)
fileptr
->
size
);
...
...
@@ -1202,6 +1203,7 @@ int fileClose(int fileID)
fprintf
(
stderr
,
" bytes transfered : %lld
\n
"
,
(
long
long
)
fileptr
->
byteTrans
);
}
else
#endif
{
fprintf
(
stderr
,
" file size : %ld
\n
"
,
(
long
)
fileptr
->
size
);
if
(
fileptr
->
type
==
FILE_TYPE_OPEN
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment