Date: Fri, 2 Jan 2004 12:12:38 -0800 (PST) From: Pav Lucistnik <pav@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/textproc/xerces-c2 Makefile ports/textproc/xerces-c2/files patch-src-xercesc-util-Platforms-FreeBSD-FreeBSDPlatformUtils.cpp Message-ID: <200401022012.i02KCcR5079190@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pav 2004/01/02 12:12:38 PST FreeBSD ports repository Modified files: textproc/xerces-c2 Makefile Added files: textproc/xerces-c2/files patch-src-xercesc-util-Platforms-FreeBSD-FreeBSDPlatformUtils.cpp Log: - Add patch for this problem: The XMLPlatformUtils::openFile function opens files with fopen and passes it "r+" string as mode argument. This makes(according to fopen(3)) it try to open file for reading and writing while it should be opened for reading only. As a result you can't work with files not owned by you which is rather common case for dtd files. - Raise PORTREVISION PR: ports/59499 Submitted by: Konstantin Oznobihin <bork@rsu.ru> Approved by: maintainer Revision Changes Path 1.10 +1 -0 ports/textproc/xerces-c2/Makefile 1.1 +20 -0 ports/textproc/xerces-c2/files/patch-src-xercesc-util-Platforms-FreeBSD-FreeBSDPlatformUtils.cpp (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401022012.i02KCcR5079190>