mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-26 18:33:24 +08:00
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.
This commit is contained in:
parent
7793279fc1
commit
3af0a45628
@ -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),
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user