Rev 5215 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5215 | Rev 9952 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | * and need not follow the licensing terms described here, provided that |
11 | * and need not follow the licensing terms described here, provided that |
12 | * the new terms are clearly indicated on the first page of each file where |
12 | * the new terms are clearly indicated on the first page of each file where |
13 | * they apply. |
13 | * they apply. |
14 | */ |
14 | */ |
15 | #include |
15 | #include |
16 | #include |
16 | #include |
17 | #include |
17 | #include |
18 | #include |
18 | #include |
19 | #include |
19 | #include |
20 | #include "glue.h" |
20 | #include "glue.h" |
Line 26... | Line 26... | ||
26 | _DEFUN (stat, (path, buf), |
26 | _DEFUN (stat, (path, buf), |
27 | const char *path _AND |
27 | const char *path _AND |
28 | struct stat *buf) |
28 | struct stat *buf) |
29 | { |
29 | { |
Line 30... | Line 30... | ||
30 | 30 | ||
31 | fileinfo_t info; |
31 | ksys_file_info_t info; |
Line 32... | Line 32... | ||
32 | struct tm time; |
32 | struct tm time; |
33 | 33 | ||
34 | if( get_fileinfo(path, &info)) |
34 | if (_ksys_file_info(path, &info)) |
35 | { |
35 | { |
36 | errno = ENOENT; |
36 | errno = ENOENT; |
Line 37... | Line 37... | ||
37 | return (-1); |
37 | return (-1); |
Line 38... | Line 38... | ||
38 | }; |
38 | } |
Line 89... | Line 89... | ||
89 | const char *path _AND |
89 | const char *path _AND |
90 | struct stat *buf) |
90 | struct stat *buf) |
91 | { |
91 | { |
92 | return stat(path, buf); |
92 | return stat(path, buf); |
93 | } |
93 | } |
94 | - |