PERFORCE change 18484 for review

Robert Watson rwatson at freebsd.org
Tue Oct 1 19:16:58 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18484

Change 18484 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list