Hello community, here is the log from the commit of package scim-input-pad for openSUSE:Factory checked in at Tue Nov 10 12:21:46 CET 2009. -------- --- scim-input-pad/scim-input-pad.changes 2007-12-27 02:30:43.000000000 +0100 +++ /mounts/work_src_done/STABLE/scim-input-pad/scim-input-pad.changes 2009-11-06 11:11:10.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Nov 6 11:10:06 CET 2009 - tiwai@suse.de + +- fix missing fclose() (bnc#544707) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- scim-input-pad-missing-fclose.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scim-input-pad.spec ++++++ --- /var/tmp/diff_new_pack.ozhfUY/_old 2009-11-10 12:21:04.000000000 +0100 +++ /var/tmp/diff_new_pack.ozhfUY/_new 2009-11-10 12:21:04.000000000 +0100 @@ -21,7 +21,7 @@ Name: scim-input-pad BuildRequires: gcc-c++ gtk2-devel scim-devel update-desktop-files Version: 0.1.1 -Release: 272 +Release: 273 License: GPL v2 or later Group: System/X11/Utilities AutoReqProv: on @@ -31,6 +31,7 @@ # cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/scim login # cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/scim co scim-input-pad Source0: http://belnet.dl.sourceforge.net/sourceforge/scim/scim-input-pad-0.1.1.tar.b... +Patch: scim-input-pad-missing-fclose.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: an onscreen input pad to easily input symbols @@ -46,6 +47,7 @@ %prep %define scim_binary_version %(pkg-config --variable=scim_binary_version scim) %setup -q -n %{name}-%{version} +%patch -p1 %build autoreconf -I /opt/gnome/share/aclocal --force --install --verbose ++++++ scim-input-pad-missing-fclose.diff ++++++ --- src/scim_input_group.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/src/scim_input_group.cpp +++ b/src/scim_input_group.cpp @@ -284,8 +284,10 @@ if (!fp) return 0; if (get_line (fp) != String (scim_input_pad_header) || - get_line (fp) != String (scim_input_pad_version)) + get_line (fp) != String (scim_input_pad_version)) { + fclose(fp); return 0; + } while (!feof (fp)) { if (get_line (fp) == String ("BEGIN_GROUP")) { @@ -295,6 +297,7 @@ } } } + fclose(fp); return groups.size (); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org