Hello community, here is the log from the commit of package esound checked in at Wed Apr 18 18:17:26 CEST 2007. -------- --- GNOME/esound/esound.changes 2007-03-21 23:48:46.000000000 +0100 +++ /mounts/work_src_done/STABLE/esound/esound.changes 2007-04-18 17:36:23.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Apr 18 17:30:48 CEST 2007 - sbrabec@suse.cz + +- Fixed 100% CPU load (#264637, GNOME #412951, Joe Marcus Clarke). +- Removed upstreamed esound-close-fds.patch. + +------------------------------------------------------------------- Old: ---- esound-close-fds.patch New: ---- esound-cpu-load.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ esound.spec ++++++ --- /var/tmp/diff_new_pack.Vy5921/_old 2007-04-18 18:16:43.000000000 +0200 +++ /var/tmp/diff_new_pack.Vy5921/_new 2007-04-18 18:16:43.000000000 +0200 @@ -17,14 +17,14 @@ Autoreqprov: on Summary: A Sound Daemon for Enlightenment and GNOME Version: 0.2.37 -Release: 1 +Release: 6 URL: ftp://ftp.gnome.org/pub/gnome/sources/esound/ Source: ftp://ftp.gnome.org/pub/gnome/sources/esound/0.2/%{name}-%{version}.tar.bz2 Source1: esound.init Source2: sysconfig.esound Patch: esd-as.patch Patch1: esound-biarch.patch -Patch2: esound-close-fds.patch +Patch2: esound-cpu-load.patch Patch3: abuild.patch # Suggest -32bit package for proper work of preloader for 32-bit apps. %if %_lib != lib @@ -140,6 +140,9 @@ %doc %{_mandir}/man1/esd-config.* %changelog +* Wed Apr 18 2007 - sbrabec@suse.cz +- Fixed 100%% CPU load (#264637, GNOME #412951, Joe Marcus Clarke). +- Removed upstreamed esound-close-fds.patch. * Wed Mar 21 2007 - maw@suse.de - Add abuild.patch, silencing a gcc warning. * Wed Mar 21 2007 - maw@suse.de ++++++ esound-cpu-load.patch ++++++ http://bugzilla.gnome.org/show_bug.cgi?id=412951 =================================================================== --- players.c.orig Tue Feb 27 02:16:05 2007 +++ players.c Tue Feb 27 02:16:37 2007 @@ -310,13 +310,14 @@ int read_player( esd_player_t *player ) player->data_buffer + player->actual_length, player->buffer_length - player->actual_length, actual, "str rd" ); - if (bytes_read < player->buffer_length - player->actual_length) - break; - /* check for end of stream */ if ( actual == 0 || ( actual < 0 && errno != EAGAIN && errno != EINTR ) ) return -1; + + if (bytes_read < player->buffer_length - player->actual_length) + break; + /* more data, save how much we got */ if ( actual > 0 ) player->actual_length += actual; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de