- bump soname into libfoo-4.4.so everywhere.
- sparcv8: optflags changed to -mtune=ultrasparc (#140420).
- add BuildRequires: neon-devel.
+ - fix: chunked davRead returns 0 is EOF.
4.3.2 -> 4.3.3:
- bump micro version.
%define version @VERSION@
Version: %{version}
%{expand: %%define rpm_version %{version}}
-Release: 0.5
+Release: 0.6
Group: System Environment/Base
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
License: GPL
%{__includedir}/popt.h
%changelog
+* Wed Nov 24 2004 Jeff Johnson <jbj@jbj.org> 4.4-0.6
+- fix: chunked davRead returns 0 is EOF.
+
* Mon Nov 22 2004 Jeff Johnson <jbj@jbj.org> 4.4-0.5
- sparcv8: optflags changed to -mtune=ultrasparc (#140420).
- add BuildRequires: neon-devel.
fdstat_enter(fd, FDSTAT_READ);
/*@-boundswrite@*/
/* HACK: flimsy wiring for davRead */
- if (fd->req != NULL)
+ if (fd->req != NULL) {
rc = davRead(fd, buf, (count > fd->bytesRemain ? fd->bytesRemain : count));
- else
+ /* XXX Chunked davRead EOF. */
+ if (rc == 0)
+ fd->bytesRemain = 0;
+ } else
rc = read(fdFileno(fd), buf, (count > fd->bytesRemain ? fd->bytesRemain : count));
/*@=boundswrite@*/
fdstat_exit(fd, FDSTAT_READ, rc);