Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37527007
en ru br
ALT Linux repos
S:6.3.20220618-alt4
5.0: 5.7-alt1
4.1: 5.6-alt4
4.0: 5.6-alt3
3.0: 5.4.20050108-alt3

Group :: System/Base
RPM: ncurses

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ncurses-alt.patch
Download


diff --git a/misc/terminfo.src b/misc/terminfo.src
index 080b46d..bd5589a 100644
--- a/misc/terminfo.src
+++ b/misc/terminfo.src
@@ -5477,6 +5477,7 @@ xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
 
 # This is xterm for ncurses.
 xterm|xterm terminal emulator (X Window System),
+	kbs=\177,
 	use=xterm-new,
 
 # This entry assumes that xterm's handling of VT100 SI/SO is disabled by
diff --git a/ncurses/tinfo/access.c b/ncurses/tinfo/access.c
index a735db2..72c37ba 100644
--- a/ncurses/tinfo/access.c
+++ b/ncurses/tinfo/access.c
@@ -204,6 +204,7 @@ _nc_is_file_path(const char *path)
 #endif
 
 #ifndef USE_ROOT_ENVIRON
+extern int __libc_enable_secure;
 /*
  * Returns true if we allow application to use environment variables that are
  * used for searching lists of directories, etc.
@@ -213,6 +214,8 @@ _nc_env_access(void)
 {
     int result = TRUE;
 
+    if (__libc_enable_secure)
+	return FALSE;
     if (is_elevated()) {
 	result = FALSE;
     } else if ((getuid() == ROOT_UID) || (geteuid() == ROOT_UID)) {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin