Rev 2 | Rev 24 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2 | Rev 23 | ||
|---|---|---|---|
| Line 12... | Line 12... | ||
| 12 | # name : date: |
12 | # name : date: |
| 13 | # descr : short description |
13 | # descr : short description |
| 14 | # |
14 | # |
| 15 | ============================================================================ */ |
15 | ============================================================================ */ |
| 16 | 16 | ||
| - | 17 | #include <string.h> |
|
| - | 18 | ||
| 17 | #include <stdio.h> |
19 | #include <stdio.h> |
| 18 | #include <libgen.h> |
20 | #include <libgen.h> |
| 19 | #include "checkfiles.h" |
21 | #include "checkfiles.h" |
| 20 | #include <unistd.h> // getcwd |
22 | #include <unistd.h> // getcwd |
| 21 | 23 | ||
| Line 25... | Line 27... | ||
| 25 | #include <dirent.h> |
27 | #include <dirent.h> |
| 26 | #include <unistd.h> |
28 | #include <unistd.h> |
| 27 | 29 | ||
| 28 | #include <errno.h> |
30 | #include <errno.h> |
| 29 | 31 | ||
| 30 | #define PATH_MAX 255 |
32 | //define PATH_MAX 255 |
| 31 | 33 | ||
| 32 | // ============================================================================ |
34 | // ============================================================================ |
| 33 | // Functions |
35 | // Functions |
| 34 | // ============================================================================ |
36 | // ============================================================================ |
| 35 | 37 | ||
| Line 98... | Line 100... | ||
| 98 | 100 | ||
| 99 | // ============================================================================ |
101 | // ============================================================================ |
| 100 | // MAIN |
102 | // MAIN |
| 101 | // ============================================================================ |
103 | // ============================================================================ |
| 102 | 104 | ||
| 103 | main(int argc, char *argv[]) |
105 | int main(int argc, char *argv[]) |
| 104 | { |
106 | { |
| 105 | char *progname = argv[0]; |
107 | char *progname = argv[0]; |
| 106 | char *directory; |
108 | char *directory; |
| 107 | char mesg[80]; |
109 | char mesg[80]; |
| 108 | 110 | ||