Fix bug in the secure getenv function so that the ss library will corrently

honor the PAGER and SS_READLINE_PATH environtment variables, and the 
test_io io_manager in the ext2fs library honors the TEST_IO_LOGFILE,
TEST_IO_FLAGS, TEST_IO_BLOCK, and TEST_IO_READ_ABORT environment variables.
bitmap-optimize
Theodore Ts'o 2005-05-08 02:15:02 -04:00
parent 7793279fc1
commit 3af0a45628
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-05-08 Theodore Ts'o <tytso@mit.edu>
* test_io.c (safe_getenv): Fix bug so it would fetch the right
environment variable.
2005-04-09 Theodore Ts'o <tytso@mit.edu>
* inode.c (ext2fs_write_new_inode),

View File

@ -155,9 +155,9 @@ static char *safe_getenv(const char *arg)
#endif
#ifdef HAVE___SECURE_GETENV
return __secure_getenv("BLKID_FILE");
return __secure_getenv(arg);
#else
return getenv("BLKID_FILE");
return getenv(arg);
#endif
}

View File

@ -1,3 +1,8 @@
2005-05-08 Theodore Ts'o <tytso@mit.edu>
* pager.c (ss_safe_getenv): Fix bug so it would fetch the right
environment variable.
2005-03-31 Theodore Ts'o <tytso@mit.edu>
* get_readline.c (ss_get_readline), pager.c (ss_page_stdin): If

View File

@ -56,9 +56,9 @@ char *ss_safe_getenv(const char *arg)
#endif
#ifdef HAVE___SECURE_GETENV
return __secure_getenv("BLKID_FILE");
return __secure_getenv(arg);
#else
return getenv("BLKID_FILE");
return getenv(arg);
#endif
}