OBS User unknown
2007-11-26 19:19:43 +00:00
committed by Git OBS Bridge
parent d90d5a2643
commit b2295ae736
4 changed files with 38 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1e14dedba5e14649a8bfba8297d32a558772d553f0d2514a4beb4ac7c51fded
size 8405645
oid sha256:866fb7fd43c77d5dac77182ac81da6340f66a9d3aa79b855db298670659cdf9b
size 8431694

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 26 10:23:15 CET 2007 - olh@suse.de
- update to rev 28023
various bugfixes
handle empty error_stream in svn_cmdline_init() (343706)
-------------------------------------------------------------------
Fri Nov 23 13:19:50 CET 2007 - olh@suse.de

View File

@@ -19,7 +19,7 @@ BuildRequires: neon-devel
%endif
BuildRequires: sqlite-devel
Version: 1.5.0
Release: 18
Release: 20
#
%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
#
@@ -45,6 +45,7 @@ Source12: subversion.sysconfig.svnserve.remoteaccess
Source13: subversion.xinetd.svnserve
Source42: subversion.svngrep.sh
Source43: subversion.svndiff.sh
Patch0: subversion.svn_cmdline_init-error_stream.patch
Patch1: subversion.svn_swig_pl_info_receiver.return.patch
#
Patch11: subversion.libtool-verbose.patch
@@ -132,6 +133,7 @@ case "$swig" in
esac
%setup -q -n subversion-1.5.x
#
%patch0 -p1
%patch1 -p1
#
%patch11 -p1
@@ -396,6 +398,10 @@ rm -rf $RPM_BUILD_ROOT
%{apache_libexecdir}/mod_authz_svn.*
%changelog
* Mon Nov 26 2007 - olh@suse.de
- update to rev 28023
various bugfixes
handle empty error_stream in svn_cmdline_init() (343706)
* Fri Nov 23 2007 - olh@suse.de
- update to rev 27987
various bugfixes

View File

@@ -0,0 +1,22 @@
---
subversion/libsvn_subr/cmdline.c | 2 ++
1 file changed, 2 insertions(+)
--- a/subversion/libsvn_subr/cmdline.c
+++ b/subversion/libsvn_subr/cmdline.c
@@ -82,6 +82,7 @@ svn_cmdline_init(const char *progname, F
#pragma convert(1208)
#endif
{
+ if (error_stream)
fprintf(error_stream, "%s: error: cannot open '/dev/null'\n",
progname);
return EXIT_FAILURE;
@@ -92,6 +93,7 @@ svn_cmdline_init(const char *progname, F
/* Ignore any errors encountered while attempting to change stream
buffering, as the streams should retain their default buffering
modes. */
+ if (error_stream)
setvbuf(error_stream, NULL, _IONBF, 0);
#ifndef WIN32
setvbuf(stdout, NULL, _IOLBF, 0);