annotate src/s/irix5-2.h @ 20608:a6cca06d5aaf

(count_size_as_multibyte): New function. (insert_from_string_1, insert_from_buffer_1): Use it. (copy_text): New function. (insert_from_buffer_1): Call copy_text to convert between single-byte and multibyte text. (insert_from_string_1): Likewise. (insert_1_both): New function. (insert_from_string): New args POS_BYTE, LENGTH. (insert_from_string_before_markers): (insert_from_string_1): New arg POS_BYTE. Swap args NCHARS, NBYTES. Don't fail to use POS_BYTE! (insert_from_buffer_1): Get both inschars and insbytes from NEW.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Jan 1998 22:46:07 +0000
parents 2935ee86a8f8
children af2906590846
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9917
9fdeb377f198 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "irix5-0.h"
9fdeb377f198 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
9fdeb377f198 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 /* as of version 5.2, irix no longer uses flock,
9fdeb377f198 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 according to jackr@wpd.sgi.com. */
9fdeb377f198 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 #undef MAIL_USE_FLOCK
12916
6381e2bfdc34 (SA_RESTART): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 9917
diff changeset
6
6381e2bfdc34 (SA_RESTART): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 9917
diff changeset
7 /* C-g in select is not handled properly with restartable
6381e2bfdc34 (SA_RESTART): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 9917
diff changeset
8 system calls. So don't use them. */
6381e2bfdc34 (SA_RESTART): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 9917
diff changeset
9 #undef SA_RESTART
14823
2935ee86a8f8 (NEED_LIBW): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12916
diff changeset
10
2935ee86a8f8 (NEED_LIBW): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12916
diff changeset
11 /* schoepf@goofy.zdv.Uni-Mainz.de reports he needed -lw with X11R6
2935ee86a8f8 (NEED_LIBW): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12916
diff changeset
12 on Irix 5.3. I don't know which Irix version that need starts with. */
2935ee86a8f8 (NEED_LIBW): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12916
diff changeset
13 #define NEED_LIBW