Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
f03c720a
Commit
f03c720a
authored
May 10, 2007
by
rswindell
Browse files
Update to ftouch(), return FALSE if utime() fails (returns non-zero).
parent
d9637586
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/sbbs3/nopen.c
src/sbbs3/nopen.c
+1
-3
No files found.
src/sbbs3/nopen.c
View file @
f03c720a
...
...
@@ -117,9 +117,7 @@ BOOL ftouch(const char* fname)
close
(
file
);
}
/* update the time stamp */
utime
(
fname
,
NULL
);
return
(
TRUE
);
return
utime
(
fname
,
NULL
)
==
0
;
}
BOOL
fmutex
(
const
char
*
fname
,
const
char
*
text
,
long
max_age
)
...
...
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