From owner-p4-projects Tue Oct 1 12:17: 1 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4B79637B404; Tue, 1 Oct 2002 12:16:59 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5DC637B401 for ; Tue, 1 Oct 2002 12:16:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91CF243E77 for ; Tue, 1 Oct 2002 12:16:58 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g91JGwCo060875 for ; Tue, 1 Oct 2002 12:16:58 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g91JGwQQ060872 for perforce@freebsd.org; Tue, 1 Oct 2002 12:16:58 -0700 (PDT) Date: Tue, 1 Oct 2002 12:16:58 -0700 (PDT) Message-Id: <200210011916.g91JGwQQ060872@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 18484 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18484 Change 18484 by rwatson@rwatson_tislabs on 2002/10/01 12:16:04 IFC gcc cpp change to avoid internal compiler error on make depend. Affected files ... .. //depot/projects/trustedbsd/mac/contrib/gcc/cppmacro.c#6 integrate Differences ... ==== //depot/projects/trustedbsd/mac/contrib/gcc/cppmacro.c#6 (text+ko) ==== @@ -349,6 +349,12 @@ /* Commit the memory, including NUL, and return the token. */ len = dest - BUFF_FRONT (pfile->u_buff); + if ((size_t) (BUFF_LIMIT (pfile->u_buff) - dest) < 1) + { + size_t len_so_far = dest - BUFF_FRONT (pfile->u_buff); + _cpp_extend_buff (pfile, &pfile->u_buff, 1); + dest = BUFF_FRONT (pfile->u_buff) + len_so_far; + } BUFF_FRONT (pfile->u_buff) = dest + 1; return new_string_token (pfile, dest - len, len); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message