Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2016-07-12 23:49:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "man" Changes: -------- --- /work/SRC/openSUSE:Factory/man/man.changes 2016-03-29 09:52:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2016-07-12 23:49:14.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jun 24 10:06:32 UTC 2016 - [email protected] + +- Give man(1) command a home that is let pager less(1) handle its + history (boo#986211) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wrapper.c ++++++ --- /var/tmp/diff_new_pack.WEPaez/_old 2016-07-12 23:49:16.000000000 +0200 +++ /var/tmp/diff_new_pack.WEPaez/_new 2016-07-12 23:49:16.000000000 +0200 @@ -102,6 +102,8 @@ printf ("%s\n", wlp->run); #endif if (ruid == 0 || euid == 0) { + static char *dummy_environ[] = { NULL }; + extern char **environ; struct passwd *pwd; char *cwd; @@ -142,6 +144,16 @@ return -EACCES; } free(cwd); + + cwd = getenv("TERM"); + environ = dummy_environ; + setenv("HOME", pwd->pw_dir, 1); + setenv("PATH", "/bin:/usr/bin", 1); + setenv("USER", pwd->pw_name, 1); + setenv("LOGNAME", pwd->pw_name, 1); + if (cwd) + setenv("TERM", cwd, 1); + envp = environ; } execve (wlp->run, argv, envp); perror ("execve");
