Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
Reverse Diff
Changes in
lib/ini.c
[5ebff60:ea39049]
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
File:
1 edited
lib/ini.c
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
lib/ini.c
r5ebff60
rea39049
28
28
ini_t *ini_open(char *file)
29
29
{
30
int fd
;
30
int fd
= -1
;
31
31
ini_t *ini = NULL;
32
32
struct stat fi;
33
33
34
if (
(fd = open(file, O_RDONLY)) != -1 &&
34
if (
file &&
(fd = open(file, O_RDONLY)) != -1 &&
35
35
fstat(fd, &fi) == 0 &&
36
36
fi.st_size <= 16384 &&
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive