2008-03-31  Andrew Black  <ablack@roguewave.com>
2008-03-31  Andrew Black  <ablack@roguewave.com>

	STDCXX-426
	* util/output.cpp (struct readback): Add convenience data structure
	  for backwards file reading.
	  (rbinit): Add method to initialize structure.
	  (rbbof): Add method to check if structure points to the beginning
	  of a file.
	  (rbsync): Add method to synchronize the file handle the structure
	  is built on to the structure.
	  (rbgetc): Add method to retrieve a character from the file and
	  move the structure one position closer to the start
	  (rbscanf): Add methods to search for a string using the
	  structure, possibly capturing an unsigned integer in the process.
	  (check_test, check_compat_test): Alter to use above methods.



git-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@643120 13f79535-47bb-0310-9956-ffa450edef68

pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx