From owner-cvs-ports@FreeBSD.ORG Fri Jan 2 12:12:39 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 291BB16A4CE; Fri, 2 Jan 2004 12:12:39 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A8D443D41; Fri, 2 Jan 2004 12:12:38 -0800 (PST) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i02KCc0B079191; Fri, 2 Jan 2004 12:12:38 -0800 (PST) (envelope-from pav@repoman.freebsd.org) Received: (from pav@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i02KCcR5079190; Fri, 2 Jan 2004 12:12:38 -0800 (PST) (envelope-from pav) Message-Id: <200401022012.i02KCcR5079190@repoman.freebsd.org> From: Pav Lucistnik Date: Fri, 2 Jan 2004 12:12:38 -0800 (PST) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/textproc/xerces-c2 Makefile ports/textproc/xerces-c2/files patch-src-xercesc-util-Platforms-FreeBSD-FreeBSDPlatformUtils.cpp X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 20:12:39 -0000 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 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)