# HG changeset patch # User Richard M. Stallman # Date 717022702 0 # Node ID 7961d1af11a7acd9f36c0f1175d47d9079ec4aaf # Parent fb4ec23ef80f8a9ed0df29cf3219ce18b186e587 entered into RCS diff -r fb4ec23ef80f -r 7961d1af11a7 lisp/diff.el --- a/lisp/diff.el Sun Sep 20 20:17:16 1992 +0000 +++ b/lisp/diff.el Sun Sep 20 20:58:22 1992 +0000 @@ -24,7 +24,7 @@ (require 'compile) -(defvar diff-switches nil +(defvar diff-switches "-c" "*A string or list of strings specifying switches to be be passed to diff.") (defvar diff-regexp-alist @@ -93,9 +93,14 @@ (function (lambda (file subexpr) (setq compilation-error-list (cons - (cons (set-marker (make-marker) - (match-beginning subexpr) - (current-buffer)) + (cons (save-excursion + ;; Report location of message + ;; at beginning of line. + (goto-char + (match-beginning subexpr)) + (beginning-of-line) + (point-marker)) + ;; Report location of corresponding text. (let ((line (string-to-int (buffer-substring (match-beginning subexpr) diff -r fb4ec23ef80f -r 7961d1af11a7 src/s/sol2.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/s/sol2.h Sun Sep 20 20:58:22 1992 +0000 @@ -0,0 +1,14 @@ +#include "s-usg5-4.h" + +#define POSIX + +/* Here is how to find X Windows. */ +#define LD_SWITCH_SYSTEM -L/usr/openwin/lib +#define C_SWITCH_X_SYSTEM -I/usr/openwin/include + +/* Compile in non-ansi fashion to work around bugs in system header files. */ +#ifndef __GNUC__ +#define C_SWITCH_SYSTEM -Xs +#else /* GCC */ +#define C_SWITCH_SYSTEM -traditional +#endif /* GCC */ diff -r fb4ec23ef80f -r 7961d1af11a7 src/s/usg5-4.h --- a/src/s/usg5-4.h Sun Sep 20 20:17:16 1992 +0000 +++ b/src/s/usg5-4.h Sun Sep 20 20:58:22 1992 +0000 @@ -31,9 +31,13 @@ #undef NOMULTIPLEJOBS -#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o +#define LIBS_SYSTEM -lsocket -lnsl -lelf +#define ORDINARY_LINK -#define LIB_STANDARD -lsocket -lnsl -lelf -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o +#if 0 /* These should be unnecessary now because of ORDINARY_LINK. */ +#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o +#define LIB_STANDARD -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o +#endif /* No */