1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00
emacs/src/s
Andreas Schwab 8966b7575b Use strchr, strrchr instead of index, rindex
* callint.c (Fcall_interactively): Use strchr, strrchr instead of
index, rindex.
* doc.c (get_doc_string, Fsnarf_documentation): Likewise.
* editfns.c (Fuser_full_name, Fformat): Likewise.
* emacs.c (argmatch, sort_args, decode_env_path): Likewise.
* fileio.c (Ffile_symlink_p): Likewise.
* filelock.c (current_lock_owner): Likewise.
* font.c (font_parse_name, font_parse_family_registry): Likewise.
* fontset.c (fontset_pattern_regexp): Likewise.
* lread.c (read1): Likewise.
* sysdep.c (init_system_name): Likewise.
* xfns.c (select_visual): Likewise.
* s/hpux10-20.h (index, rindex): Don't define.
* s/ms-w32.h (index): Likewise.
* s/usg5-4.h: Likewise.

* sed2v2.inp (HAVE_INDEX, HAVE_RINDEX): Don't edit.
(HAVE_STRCHR, HAVE_STRRCHR): Edit to 1.

* emacsclient.c (set_local_socket): Use strchr, strrchr instead of
index, rindex.
* movemail.c (mail_spool_name, popmail): Likewise.
* pop.c (pop_list): Likewise.

* CPP-DEFINES (HAVE_INDEX, HAVE_RINDEX): Remove.

* configure.in: Don't check for index and rindex, check for strchr
and strrchr.  Define strchr and strrchr as index and rindex,
resp., in src/config.h if not available.
2010-07-11 12:31:10 +02:00
..
aix4-2.h Remove some cpp that is internal to configure.in. 2010-06-29 19:48:54 -07:00
bsd-common.h Remove BSTRING related code, all platforms define it. 2010-06-06 01:57:39 -07:00
cygwin.h Remove BSTRING related code, all platforms define it. 2010-06-06 01:57:39 -07:00
darwin.h Simplify start_of_data, start_of_text and related code. 2010-07-07 20:03:52 -07:00
freebsd.h Remove some cpp that is internal to configure.in. 2010-06-29 19:48:54 -07:00
gnu-kfreebsd.h
gnu-linux.h Remove BSTRING related code, all platforms define it. 2010-06-06 01:57:39 -07:00
gnu.h NOT_C_CODE is always true now. 2010-06-02 22:29:02 -07:00
hpux10-20.h Use strchr, strrchr instead of index, rindex 2010-07-11 12:31:10 +02:00
hpux11.h Remove POSIX_SIGNALS. 2010-05-03 21:00:10 -07:00
irix6-5.h Remove some cpp that is internal to configure.in. 2010-06-29 19:48:54 -07:00
ms-w32.h Use strchr, strrchr instead of index, rindex 2010-07-11 12:31:10 +02:00
msdos.h Simplify start_of_data, start_of_text and related code. 2010-07-07 20:03:52 -07:00
netbsd.h NOT_C_CODE is always true now. 2010-06-02 22:29:02 -07:00
openbsd.h Move TERMINFO, LIBS_TERMCAP from cpp to configure. 2010-05-07 19:05:24 -07:00
README
sol2-6.h * configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM): 2010-06-29 20:43:30 -07:00
sol2-10.h Remove some cpp that is internal to configure.in. 2010-06-29 19:48:54 -07:00
template.h Remove some cpp that is internal to configure.in. 2010-06-29 19:48:54 -07:00
unixware.h Reformat some comments in src/s/*.h. 2010-05-11 23:53:03 -07:00
usg5-4.h Use strchr, strrchr instead of index, rindex 2010-07-11 12:31:10 +02:00

This directory contains C header files containing
operating-system-specific definitions.  Each file describes a
particular operating system.  The emacs configuration script edits
../config.h to include the appropriate one of these files, and then
each emacs source file includes config.h.

template.h is a generic template for system descriptions; it describes
the parameters a system file can specify.