This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libf2c gettimeofday stuff


  In message <rzqhfq8ft2o.fsf@djlvig.dl.ac.uk>you write:
  > In addition to what Mumit said about the horrors of gettimeofday used
  > in libf2c/libU77, it appears from the Emacs sources that on some
  > systems it only takes a single arg.
  > 
  > Here's a largely untested suggestion to cope with that by supplying a
  > packaged autoconf test, partly cribbing from Emacs.
  > 
  > 1999-04-22  Dave Love  <fx@gnu.org>
  > 
  > 	* libU77/aclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not
  > 	LIBU77_HAVE_STRUCT_TIMEZONE.
  > 
  > 	* libU77/configure.in: Use LIBU77_GETTIMEOFDAY, not
  > 	LIBU77_HAVE_STRUCT_TIMEZONE.  Don't check for gettimeofday
  > 	separately.
  > 
  > 	* libU77/datetime_.c (G77_date_and_time_0): Use
  > 	GETTIMEOFDAY_ONE_ARGUMENT.
I installed this (old) patch.  Presumably if it causes problems on systems
with weird gettimeofday functions we'll hear about it. :-)  

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]