Hello community, here is the log from the commit of package gammu checked in at Thu Dec 7 20:15:09 CET 2006. -------- --- gammu/gammu.changes 2006-10-17 01:56:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/gammu/gammu.changes 2006-11-28 12:58:37.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Nov 28 12:57:36 CET 2006 - prusnak@suse.cz + +- update to 1.09.00 + +------------------------------------------------------------------- Old: ---- gammu-1.07.00-uninitialized.diff gammu-1.08.00.tar.bz2 New: ---- gammu-1.09.00.tar.bz2 gammu-uninitialized.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gammu.spec ++++++ --- /var/tmp/diff_new_pack.IbY4vm/_old 2006-12-07 20:14:21.000000000 +0100 +++ /var/tmp/diff_new_pack.IbY4vm/_new 2006-12-07 20:14:21.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package gammu (Version 1.08.00) +# spec file for package gammu (Version 1.09.00) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,15 +12,15 @@ Name: gammu BuildRequires: bluez-libs -Version: 1.08.00 +Version: 1.09.00 Release: 1 AutoReqProv: on Group: Hardware/Mobile -License: GNU General Public License (GPL) - all versions -URL: http://www.gammu.net +License: GNU General Public License (GPL) +URL: http://www.gammu.org Summary: Mobile Phone Tools Source: %{name}-%{version}.tar.bz2 -Patch0: %{name}-1.07.00-uninitialized.diff +Patch0: %{name}-uninitialized.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -114,6 +114,8 @@ rm -rf $RPM_BUILD_ROOT %changelog -n gammu +* Tue Nov 28 2006 - prusnak@suse.cz +- update to 1.09.00 * Tue Oct 17 2006 - ro@suse.de - update to 1.08.00 * many bugfixes ++++++ gammu-1.08.00.tar.bz2 -> gammu-1.09.00.tar.bz2 ++++++ ++++ 12463 lines of diff (skipped) ++++++ gammu-uninitialized.diff ++++++ --- common/phone/at/atgen.c +++ common/phone/at/atgen.c @@ -333,7 +333,7 @@ } } -GSM_Error ATGEN_DecodeDateTime(GSM_StateMachine *s, GSM_DateTime *dt, unsigned char *input) +GSM_Error ATGEN_DecodeDateTime(GSM_StateMachine *s, GSM_DateTime *dt, unsigned char *_input) { /* This function parses datetime strings in the format: [YY[YY]/MM/DD,]hh:mm[:ss[+TZ]] , [] enclosed parts are optional */ @@ -342,13 +342,16 @@ unsigned char buffer[100]; unsigned char *pos; unsigned char buffer2[100]; + unsigned char input[100]; int len; + strncpy(input, _input, 100); + input[99] = '\0'; pos = input; /* Strip possible quotes */ if (*pos == '"') pos++; - if (buffer[strlen(pos) - 1] == '"') buffer[strlen(pos) - 1] = 0; + if (input[strlen(pos) - 1] == '"') input[strlen(pos) - 1] = 0; len = strlen(pos); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org