Add TODO markers for later improvements.
This commit is contained in:
@@ -53,8 +53,15 @@ static void pv_crs_open_lockfile(pvcursorstate_t cursor, readonly_pvcontrol_t co
|
||||
char *tmpdir;
|
||||
int openflags;
|
||||
|
||||
/* TODO: decide whether to dynamically allocate cursor->lock_file. */
|
||||
|
||||
cursor->lock_fd = -1;
|
||||
|
||||
/*
|
||||
* TODO: use ttyname_r() and dynamic buffer, or copy the result of
|
||||
* ttyname() to a dynamic buffer, because basename() may modify it.
|
||||
*/
|
||||
|
||||
ttydev = ttyname(fd);
|
||||
if (!ttydev) {
|
||||
if (!control->force) {
|
||||
|
||||
Reference in New Issue
Block a user