From owner-svn-ports-head@freebsd.org Sun May 22 16:55:24 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C4ADB457DC; Sun, 22 May 2016 16:55:24 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D6181A87; Sun, 22 May 2016 16:55:24 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4MGtNEs052849; Sun, 22 May 2016 16:55:23 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4MGtNZD052848; Sun, 22 May 2016 16:55:23 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201605221655.u4MGtNZD052848@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sun, 22 May 2016 16:55:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415642 - head/print/t1utils/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2016 16:55:24 -0000 Author: bapt Date: Sun May 22 16:55:23 2016 New Revision: 415642 URL: https://svnweb.freebsd.org/changeset/ports/415642 Log: Prevent collision with getline(3) Added: head/print/t1utils/files/ head/print/t1utils/files/patch-t1asm.c (contents, props changed) Added: head/print/t1utils/files/patch-t1asm.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/t1utils/files/patch-t1asm.c Sun May 22 16:55:23 2016 (r415642) @@ -0,0 +1,29 @@ +--- t1asm.c.orig 2004-01-24 02:28:23 UTC ++++ t1asm.c +@@ -280,7 +280,7 @@ static int check_line_charstring() + the newline is put into line[]. When terminated by '{', the '{' is not put + into line[], and the flag start_charstring is set to 1. */ + +-static void getline() ++static void get_line() + { + int c; + char *p = line; +@@ -725,7 +725,7 @@ particular purpose.\n"); + without /Subrs sections and provided a patch. */ + + while (!feof(ifp) && !ferror(ifp)) { +- getline(); ++ get_line(); + + if (!ever_active) { + if (strncmp(line, "currentfile eexec", 17) == 0 && isspace(line[17])) { +@@ -796,7 +796,7 @@ particular purpose.\n"); + + /* There may be additional code. */ + while (!feof(ifp) && !ferror(ifp)) { +- getline(); ++ get_line(); + eexec_string(line); + } +