Parent Directory
|
Revision Log
|
Patch
| Revision 1.21 by sysadm, Sun May 4 14:54:55 2025 UTC | Revision 1.22 by sysadm, Mon May 5 11:11:06 2025 UTC | |
|---|---|---|
| # | Line 119 int main(int argc, char *argv[]) | Line 119 int main(int argc, char *argv[]) |
| 119 | ||
| 120 | // Change current dir | // Change current dir |
| 121 | strncpy(file_path_temp, argv[0], sizeof(file_path_temp) - 1); | strncpy(file_path_temp, argv[0], sizeof(file_path_temp) - 1); |
| 122 | file_path_temp[sizeof(file_path_temp) - 1] = '\0'; | |
| 123 | ||
| 124 | chdir(dirname(file_path_temp)); | chdir(dirname(file_path_temp)); |
| 125 | chdir(".."); | chdir(".."); |
| 126 |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |