Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
5af5c086
Commit
5af5c086
authored
Jan 20, 2017
by
Albert Gräf
Browse files
Windows compatibility.
parent
b8eced48
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/src/s_file.c
View file @
5af5c086
...
...
@@ -646,8 +646,10 @@ char *sys_recent_files[MAX_RECENT_FILES];
static
int
fexists
(
const
char
*
s
)
{
struct
stat
statbuf
;
return
stat
(
s
,
&
statbuf
)
==
0
;
FILE
*
fp
=
sys_fopen
(
s
,
"r"
);
if
(
!
fp
)
return
0
;
sys_fclose
(
fp
);
return
1
;
}
void
sys_add_recent_file
(
const
char
*
s
)
...
...
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