1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
Commit graph

9 commits

Author SHA1 Message Date
Jim Blandy
54c908b57c * xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoid
warnings about redefining NULL under GCC 2.2.2.
1992-10-11 06:44:42 +00:00
Jim Blandy
41ab0754d3 * xrdb.c (x_get_resource): Cast the value being assigned to
ret_value->addr, rather than ret_value->addr itself; only GCC
	allows you to cast lvalues.
1992-09-22 06:43:04 +00:00
Jim Blandy
dfc35f5fca * xrdb.c: Don't include <X11/Xos.h>. Under R4, it stupidly
insists on defining SIGCHLD, even if it already has a definition.
	(file_p): Use the constant 4 instead of R_OK; empirically, the
	number is more portable than the symbol if you count the #include
	hair you have to go through to get R_OK defined.  Ffile_readable_p
	does this too.

	* xrdb.c (getuid): Declare this to return short.
1992-09-13 12:48:38 +00:00
Jim Blandy
b631f17789 * xrdb.c (get_user_db): Use XResourceManagerString when available
[HAVE_X11R4].
1992-08-29 03:28:52 +00:00
Jim Blandy
a2a4d43e4c * xrdb.c [USG5]: Define SYSV, and then include <unistd.h>. I
wish I knew why.
	Don't include <sys/types.h>; just declare getuid to return an
    	int.  Big deal.
	(MAXPATHLEN): If this is not defined by the system's include
    	files, give it a value of 256.
	(get_user_db): Fetch the defaults directly from the display
    	structure, rather than using XResourceManagerString; that
    	function doesn't exist in the older versions of X.
1992-08-19 06:51:17 +00:00
Jim Blandy
d4327fecc1 entered into RCS 1992-04-24 08:11:28 +00:00
Jim Blandy
531ff25498 *** empty log message *** 1992-02-21 16:19:12 +00:00
Jim Blandy
265a9e559d *** empty log message *** 1992-01-13 21:48:08 +00:00
Jim Blandy
f3a0bf5c13 Initial revision 1991-01-05 19:03:03 +00:00