SHA256
1
0
forked from pool/aaa_base
OBS User unknown 2008-12-15 10:56:07 +00:00 committed by Git OBS Bridge
parent 4d5ac9b9b7
commit a3e4287a0e
4 changed files with 39 additions and 9 deletions

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Dec 11 17:40:11 CET 2008 - ro@suse.de
- only mount /proc and /sys if not mounted already
(bnc#457984)
-------------------------------------------------------------------
Wed Dec 10 16:03:54 CET 2008 - bwalle@suse.de
- Make /sbin/get_kernel_version a bit more tolerant: Accept
'2.6.27.private-ppc64' as version string. (bnc #441821)
-------------------------------------------------------------------
Wed Dec 10 14:18:38 CET 2008 - werner@suse.de
- Do not set CMOS HW clock on XEN systems (bnc#422010)
- use mkill(8) instead of fuser
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 8 02:06:32 CET 2008 - ro@suse.de Mon Dec 8 02:06:32 CET 2008 - ro@suse.de

View File

@ -28,7 +28,7 @@ Recommends: cron logrotate
PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv udev net-tools PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv udev net-tools
AutoReqProv: on AutoReqProv: on
Version: 11.1 Version: 11.1
Release: 10009 Release: 10010
Summary: SUSE Linux Base Package Summary: SUSE Linux Base Package
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: aaa_base.tar.bz2 Source: aaa_base.tar.bz2
@ -139,6 +139,15 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Thu Dec 11 2008 ro@suse.de
- only mount /proc and /sys if not mounted already
(bnc#457984)
* Wed Dec 10 2008 bwalle@suse.de
- Make /sbin/get_kernel_version a bit more tolerant: Accept
'2.6.27.private-ppc64' as version string. (bnc #441821)
* Wed Dec 10 2008 werner@suse.de
- Do not set CMOS HW clock on XEN systems (bnc#422010)
- use mkill(8) instead of fuser
* Mon Dec 08 2008 ro@suse.de * Mon Dec 08 2008 ro@suse.de
- updated list of settings for DEFAULT_WM (from control.xml) - updated list of settings for DEFAULT_WM (from control.xml)
(bnc#445646) (bnc#445646)

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:431927ef147fa66436b11ae22dcd9fb8cd3285b39bd2097732c89eb28afab198 oid sha256:5131985af263a01f945af5ef04756bac971755224e7b0e55ea71e4f6702654f0
size 79816 size 79835

View File

@ -102,20 +102,23 @@ main (int argc, char *argv[])
{ {
int j = i+14; int j = i+14;
int invalid_char = 0; int invalid_char = 0;
int in_number_range = 1; int number_dots = 0;
/* check if we really found a version */ /* check if we really found a version */
for (j = j+1; buffer[j] != ' '; j++) for (j = j+1; buffer[j] != ' '; j++)
{ {
char c = buffer[j]; char c = buffer[j];
if (c == '-') if (c == '.') {
in_number_range = 0; number_dots++;
continue;
}
if ((in_number_range && !isdigit(c) && c != '.') || if (((number_dots < 2) && !isdigit(c)) ||
(!in_number_range && !my_is_alnum_punct(c))) ((number_dots >= 2) && !my_is_alnum_punct(c)))
{ {
invalid_char = 1; //invalid_char = 1;
printf("invalid=1 for %c\n", c);
break; break;
} }
} }