Jia Zhouyang
|
7a49f77b1e
|
Add error handling code for fopen
Check the return code of fopen, and return when it fails.
|
2018-03-04 20:57:08 +08:00 |
|
Jia Zhouyang
|
996287e2fd
|
Add error handling code for fopen
Check the return value of fopen, and add proper error handling code.
|
2018-03-04 20:50:49 +08:00 |
|
Jia Zhouyang
|
e0d419f034
|
Add error handling for chdir
When chdir fails, print error message and exit.
|
2018-03-04 20:42:40 +08:00 |
|