1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Gerd Moellmann
f9ee84a38c (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give
macros statement form.
2000-01-04 17:14:55 +00:00
Gerd Moellmann
27a9e9b3fa Correct typo. 1999-11-28 20:14:03 +00:00
Gerd Moellmann
c53a6701c3 (EMACS_TIME_CMP, EMACS_TIME_EQ, EMACS_TIME_NE)
(EMACS_TIME_GT, EMACS_TIME_GE, EMACS_TIME_LT,EMACS_TIME_LE): New
macros.
1999-11-28 20:11:56 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
7c938215cd Update GPL to version 2. 1995-06-15 20:42:24 +00:00
Karl Heuer
a67fa89930 Don't include <utime.h> here; do it in sysdep.c instead. 1994-10-02 21:41:57 +00:00
Karl Heuer
c0c4505967 Declare set_file_times. 1994-09-18 19:15:39 +00:00
Richard M. Stallman
af57e5a7ce (EMACS_GET_TIME): Test GETTIMEOFDAY_ONE_ARGUMENT, not USG5_4. 1994-06-17 23:52:35 +00:00
Richard M. Stallman
c810639a78 Make previous change limited to HPUX. 1994-05-26 22:15:23 +00:00
Karl Heuer
71068d7899 If _STRUCT_TIMEVAL is defined, also define __TIMEVAL__. 1994-05-26 18:47:37 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Karl Heuer
cf4138adef (EMACS_TIME_NEG_P): Cast to signed. 1994-03-30 00:50:02 +00:00
Richard M. Stallman
4fb83f3cde (EMACS_GET_TIME) [USG5_4]: Give gettimeofday just one arg. 1993-12-26 06:04:18 +00:00
Richard M. Stallman
2ffe7ef250 [HAVE_TZNAME]: Declare tzname if not macro. 1993-06-06 17:44:23 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
e3120ab527 Some time-handling patches from Paul Eggert:
* editfns.c (Fcurrent_time_zone): Take an optional argument specifying
	what (absolute) time should be used to determine the current time zone.
	Yield just offset and name of time zone, including DST correction.
	Yield time zone offset in seconds, not minutes.
	(lisp_time_argument, difftm): New functions.
	(Fcurrent_time_string): Use lisp_time_argument.
	* systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET,
	EMACS_GET_TZ_NAMES): Remove.
	* config.h.in: Add HAVE_TM_ZONE.
1993-05-20 06:29:45 +00:00
Jim Blandy
d712c26dd5 * systime.h: Borrow CPP sequence from getdate.y to include the
proper combination of <time.h> and <sys/time.h>.
1993-05-15 20:47:28 +00:00
Jim Blandy
5cbdb35688 * systime.h: Use the strategy from getdate.y to include the proper
combination of <time.h> and <sys/time.h>.
1993-05-11 00:07:51 +00:00
Richard M. Stallman
1a6847b5bc [SCO]: Include time.h. 1993-05-09 04:26:46 +00:00
Jim Blandy
7f86bdacd5 * systime.h: Doc fix.
(EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
	millisecond.  What's three orders of magnitude between friends?
	* dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
	`milliseconds' argument by 1000 to get microseconds.

	Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
	* s/mach2.h: copied from the Emacs 18.59 distribution.
	Don't define NO_REMAP, define START_FILES as
	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
	default `-lm -lc' (there is no libc on the NeXT).
	* ymakefile (STARTFILES): Allow config.h to set this value even if
	ORDINARY_LINK is defined.
	* unexnext.c: Fix subdirectories for the machine dependent include
	files for NeXTStep 3.0; #include <mach/mach.h> and
	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
	(getsectbyname): Remove prototype for this; the system #include
	files take care of that.
	(malloc_cookie): New variable.
	(unexec_doit): Set malloc_cookie to the result returned by
	malloc_freezedry.
	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
	get the value set when we dumped and pass it to malloc_jumpstart.
	* systime.h: The NeXT has a timezone function.
1993-05-04 02:36:45 +00:00
Richard M. Stallman
8872923579 Comment fixes. 1993-04-17 06:45:29 +00:00
Jim Blandy
722687f5c7 * systime.h (EMACS_HAS_USECS): #define this if HAVE_TIMEVAL is
#defined.
1993-03-20 22:58:21 +00:00
Jim Blandy
210b2b4f05 Some VMS changes from Richard Levitte <levitte@e.kth.se>:
* [VMS] systime.h: Include vmstime.h.  VMS has the timezone
	variable and the tzname array.
	* s/vms.h: VMS does have select.
	mth$dmod is the same as Unix's drem.
	Use the time functions in vmstime.c.
	No need to rename the malloc routines if we're using GNU malloc.
	PURESIZE needs to be 330000.
	* vmstime.c, vmstime.h: New files.
	* systty.h: Don't try to initialize extern declarations under VAX C.
	* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
	in PATH_LOADSEARCH.
	(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
	* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
	[VMS] (queue_kbd_input): Build events structure correctly.
	[VMS] (gethostname): New function.
	[VMS] (getwd): Don't get the PATH environment variable; that's
	dumb.  Call getcwd.
1993-03-19 17:28:14 +00:00
Jim Blandy
9e70858b73 * systime.h (timezone): Add an explicit declaration for this
variable under USG 5-4.
1993-03-11 07:17:15 +00:00
Jim Blandy
98f7775387 * systime.h [_AIX]: Move test outside of previous #if.
(EMACS_GET_TZ_OFFSET) [USG]: Don't declare twice.  Prefer tzset.
1993-02-22 14:51:13 +00:00
Jim Blandy
92ce5d32cd * systime.h [USG] (EMACS_GET_TZ_OFFSET): Assign to *(offset), not
(offset).  Don't forget the while corresponding to the do.
	Include USG in the list of systems that have a tzname array.
1992-11-07 07:37:08 +00:00
Jim Blandy
7b89707ca3 entered into RCS 1992-09-13 13:08:15 +00:00
Jim Blandy
b7cceaf12a *** empty log message *** 1992-09-13 10:54:38 +00:00
Jim Blandy
ef15f270db *** empty log message *** 1992-08-19 03:54:51 +00:00
Jim Blandy
10a4cc6301 *** empty log message *** 1992-08-12 15:19:32 +00:00
Jim Blandy
f469625ab7 Initial revision 1992-08-12 15:16:36 +00:00