Rename getline function to unsafe, to make it greppable.
Now i can trim them one-by-one.
This commit is contained in:
@ -64,7 +64,7 @@ char *a_Dpi_rd_dpi_socket_dir(char *dirname)
|
||||
dFree(rcpath);
|
||||
|
||||
if ((dir = fopen(dirname, "r")) != NULL) {
|
||||
sockdir = dGetline(dir);
|
||||
sockdir = dGetline_unsafe(dir);
|
||||
fclose(dir);
|
||||
} else if (errno == ENOENT) {
|
||||
ERRMSG("a_Dpi_rd_dpi_socket_dir", "fopen", errno);
|
||||
|
||||
Reference in New Issue
Block a user