forked from pool/xorg-x11-server
This commit is contained in:
parent
903ab05768
commit
c2f5f16884
15
loadmod-bug197195.diff
Normal file
15
loadmod-bug197195.diff
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
|
||||
index 12f5dc9..c84529f 100644
|
||||
--- a/hw/xfree86/loader/loadmod.c
|
||||
+++ b/hw/xfree86/loader/loadmod.c
|
||||
@@ -408,8 +408,8 @@ FindModuleInSubdir(const char *dirpath,
|
||||
while ((direntry = readdir(dir))) {
|
||||
if (direntry->d_name[0] == '.')
|
||||
continue;
|
||||
- if ((stat(direntry->d_name, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode)) {
|
||||
- snprintf(tmpBuf, PATH_MAX, "%s/%s", dirpath, direntry->d_name);
|
||||
+ snprintf(tmpBuf, PATH_MAX, "%s/%s", dirpath, direntry->d_name);
|
||||
+ if ((stat(tmpBuf, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode)) {
|
||||
if ((ret = FindModuleInSubdir(tmpBuf, module)))
|
||||
break;
|
||||
continue;
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 18:27:54 CET 2007 - sndirsch@suse.de
|
||||
|
||||
- loadmod-bug197195.diff:
|
||||
* check the complete path (Bug #197195)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 14 15:12:59 CET 2007 - sndirsch@suse.de
|
||||
|
||||
|
@ -21,7 +21,7 @@ BuildRequires: libjpeg-devel
|
||||
URL: http://xorg.freedesktop.org/
|
||||
%define EXPERIMENTAL 0
|
||||
Version: 7.2
|
||||
Release: 41
|
||||
Release: 42
|
||||
License: X11/MIT
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Group: System/X11/Servers/XF86_4
|
||||
@ -81,6 +81,7 @@ Patch38: cve-2006-6101_6102_6103.diff
|
||||
Patch39: 0018-vnc-support.txt
|
||||
Patch40: 0018-vnc-support.txt.diff
|
||||
%endif
|
||||
Patch41: loadmod-bug197195.diff
|
||||
Patch334: p_pci-domain.diff
|
||||
Patch357: p_pci-ce-x.diff
|
||||
|
||||
@ -173,6 +174,7 @@ popd
|
||||
%patch39 -p1
|
||||
%patch40 -p0
|
||||
%endif
|
||||
%patch41 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
@ -496,6 +498,9 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog -n xorg-x11-server
|
||||
* Mon Jan 15 2007 - sndirsch@suse.de
|
||||
- loadmod-bug197195.diff:
|
||||
* check the complete path (Bug #197195)
|
||||
* Sun Jan 14 2007 - sndirsch@suse.de
|
||||
- added build of VNC support (0018-vnc-support.txt/
|
||||
0018-vnc-support.txt.diff); see 0018-vnc-support.txt.mbox for
|
||||
|
Loading…
Reference in New Issue
Block a user