Mercurial > emacs
annotate src/s/aix3-2.h @ 31383:860d7ac182e3
(vc-rcs-show-log-entry): New function.
(vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
(vc-rcs-register): If there is no RCS subdir, ask the
user whether to create one.
(vc-rcs-state-heuristic): Use
file-ownership-preserved-p.
(vc-rcs-checkout): Remove the error-handling for missing-rcs.
(vc-rcs-state-heuristic): Don't use file-writable-p.
(vc-rcs-print-log): Insert in the current buffer.
(vc-rcs-diff): Insert in the current buffer and remove unused arg
CMP.
(vc-rcs-workfile-unchanged-p): Use vc-do-command
instead of vc-simple-command.
(vc-rcs-fetch-master-state): Removed check for unlocked-changes to
avoid doing a diff when opening a file.
(vc-rcs-state): Added check for unlocked-changes.
(vc-rcs-header): Escape Id.
(vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
(vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
version.
(vc-rcs-state-heuristic): Use file-writable-p instead
of comparing userids.
(vc-rcs-fetch-master-state): Handle the case where rcs is missing.
Simplify the logic by eliminating unreachable code.
(vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
just do a recursive call if we need to retry.
(vc-rcs-checkout): Handle the case where rcs is missing by making
the buffer read-write if requested and re-signalling the error.
(vc-rcs-find-most-recent-rev): New function. The code
derives from the old vc-parse-buffer but uses the revision number
rather than the date (much easier to compare robustly).
(vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
locking-user more directly. Check strict locking and set
checkout-model appropriately.
(vc-rcs-parse-locks): Remove.
(vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
(vc-rcs-system-release): Use with-current-buffer and
vc-parse-buffer.
(vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
Merge in code
from vc-rcs-hooks.el. Don't require 'vc anymore.
(vc-rcs-responsible-p): Use expand-file-name instead of concat and
file-directory-p instead of file-exists-p.
(vc-rcs-exists): Remove.
(vc-rcs-header): New var.
Update Copyright.
(vc-rcs-rename-file): New function.
(vc-rcs-diff): Remove unused `backend' variable.
(vc-rcs-clear-headers): New function; code moved here
from vc-clear-headers in vc.el.
(tail): Provide vc-rcs and remove vc-rcs-logentry-check.
(vc-rcs-register): Parse command output to find master
file name and workfile version.
(vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
Require vc and vc-rcs-hooks.
(vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
(vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
(vc-release-greater-or-equal-p): Move from vc.
(vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
(vc-rcs-checkout): Add a missing `new-version' argument in the
call to vc-rcs-latest-on-branch-p. Hopefully that was the right
one.
(vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
Updated everything to use `vc-checkout-model'.
(vc-rcs-backend-release-p): function added. other
stuff updated to reference this function instead of the old
`vc-backend-release-p'.
(vc-rcs-logentry-check): Function added.
(vc-rcs-checkin, vc-rcs-previous-version)
(vc-rcs-checkout): Name space cleaned up. No more revision number
crunching function names that are not prefixed with vc-rcs.
(vc-rcs-checkout-model): Function added. References to
`vc-checkout-model' replaced.
(vc-rcs-admin): Added the query-only option as
required by the vc.el file.
(vc-rcs-exists): Function added.
(vc-*-checkout):
Use with-temp-file instead of /bin/sh. Merged from mainline
(vc-rcs-latest-on-branch-p): Moved to vc-rcs-hooks.el.
(vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
(vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
(vc-rcs-previous-version): Functions added.
(vc-rcs-diff): Function added.
(vc-rcs-checkout) Bug (typo) found and fixed.
(vc-rcs-register-switches) Variable `vc-rcs-register-switches' added.
Require vc when compiling.
(vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
(vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
(vc-rcs-checkin): New functions (code from vc.el).
(vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
Doc fix.
(vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
(vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
(vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
(vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
from vc.el.
(vc-rcs-system-release):
Renamed from vc-rcs-backend-release.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 04 Sep 2000 19:47:43 +0000 |
parents | c370bafa362e |
children | 4be8406ebef9 |
rev | line source |
---|---|
1898 | 1 /* s- file for building Emacs on AIX 3.2. */ |
2 | |
3 #include "aix3-1.h" | |
4 | |
4710 | 5 #define AIX3_2 |
6 | |
1898 | 7 /* No need to define this--the header files indicate X11R4, |
8 and that's supposedly what 3.2 will come with. */ | |
9 #undef SPECIFY_X11R4 | |
10 | |
3156
ec142b6ddb34
* s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
Jim Blandy <jimb@redhat.com>
parents:
2470
diff
changeset
|
11 #ifndef __GNUC__ |
6166
64fe0cc0138e
(C_SWITCH_SYSTEM): Increase maxmem when using IBM's compiler.
Karl Heuer <kwzh@gnu.org>
parents:
6127
diff
changeset
|
12 /* Some programs in src produce warnings saying certain subprograms |
64fe0cc0138e
(C_SWITCH_SYSTEM): Increase maxmem when using IBM's compiler.
Karl Heuer <kwzh@gnu.org>
parents:
6127
diff
changeset
|
13 are to comples and need a MAXMEM value greater than 2000 for |
64fe0cc0138e
(C_SWITCH_SYSTEM): Increase maxmem when using IBM's compiler.
Karl Heuer <kwzh@gnu.org>
parents:
6127
diff
changeset
|
14 additional optimization. --nils@exp-math.uni-essen.de */ |
64fe0cc0138e
(C_SWITCH_SYSTEM): Increase maxmem when using IBM's compiler.
Karl Heuer <kwzh@gnu.org>
parents:
6127
diff
changeset
|
15 #define C_SWITCH_SYSTEM -ma -qmaxmem=4000 |
3156
ec142b6ddb34
* s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
Jim Blandy <jimb@redhat.com>
parents:
2470
diff
changeset
|
16 #endif |
13840 | 17 |
1898 | 18 #define HAVE_ALLOCA |
13841 | 19 /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */ |
13840 | 20 #ifndef NOT_C_CODE |
14718
cb80e4399021
Avoid the #pragma alloca on AIX 4.
Richard M. Stallman <rms@gnu.org>
parents:
13841
diff
changeset
|
21 #ifndef AIX4 |
13840 | 22 #pragma alloca |
23 #endif | |
14718
cb80e4399021
Avoid the #pragma alloca on AIX 4.
Richard M. Stallman <rms@gnu.org>
parents:
13841
diff
changeset
|
24 #endif |
13840 | 25 |
1898 | 26 #undef rindex |
27 #undef index | |
2280
bd56d208ed22
* fileio.c (HAVE_FSYNC): Define, if appropriate.
Jim Blandy <jimb@redhat.com>
parents:
1898
diff
changeset
|
28 |
bd56d208ed22
* fileio.c (HAVE_FSYNC): Define, if appropriate.
Jim Blandy <jimb@redhat.com>
parents:
1898
diff
changeset
|
29 #define HAVE_FSYNC |
2470
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
30 |
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
31 /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX |
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
32 3.2, and a cc-compiled Emacs works with this undefined. |
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
33 --karl@cs.umb.edu. */ |
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
34 #undef SYSTEM_MALLOC |
6127
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
35 |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
36 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
37 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
38 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ |
27678
c370bafa362e
Define C_DEBUG_SWITCH for non-gcc.
Dave Love <fx@gnu.org>
parents:
22823
diff
changeset
|
39 /* See comments about this in aix3-2-5.h. -- fx */ |
6127
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
40 #ifndef __GNUC__ |
27678
c370bafa362e
Define C_DEBUG_SWITCH for non-gcc.
Dave Love <fx@gnu.org>
parents:
22823
diff
changeset
|
41 #define C_DEBUG_SWITCH -g -O |
6127
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
42 #endif |
14821
d73389597e30
(X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents:
14718
diff
changeset
|
43 |
d73389597e30
(X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents:
14718
diff
changeset
|
44 /* The character-composition stuff is broken in X11R5. |
d73389597e30
(X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents:
14718
diff
changeset
|
45 Even with XIMStatusNothing aliased to XIMStatusNone, |
d73389597e30
(X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents:
14718
diff
changeset
|
46 tranle@intellicorp.com (Minh Tran-Le) reports that enabling |
d73389597e30
(X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents:
14718
diff
changeset
|
47 the internationalization code causes the modifier keys C, M and Shift |
d73389597e30
(X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents:
14718
diff
changeset
|
48 to beep after a mouse click. */ |
d73389597e30
(X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents:
14718
diff
changeset
|
49 #define X11R5_INHIBIT_I18N |
22823
a487c9509929
(HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents:
14821
diff
changeset
|
50 |
a487c9509929
(HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents:
14821
diff
changeset
|
51 /* string.h defines rindex as a macro, at least with native cc, so we |
a487c9509929
(HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents:
14821
diff
changeset
|
52 lose declaring char * rindex without this. |
a487c9509929
(HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents:
14821
diff
changeset
|
53 It is just a guess which versions of AIX need this definition. */ |
a487c9509929
(HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents:
14821
diff
changeset
|
54 #undef HAVE_STRING_H |