Mercurial > emacs
view doc/lispintro/cons-1.pdf @ 109315:8f3464b85afb
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.
author | Andreas Schwab <schwab@linux-m68k.org> |
---|---|
date | Sun, 11 Jul 2010 12:31:10 +0200 |
parents | e6fd7e0d6dd5 |
children |
line wrap: on
line source
%PDF-1.3 %쏢 5 0 obj <</Length 6 0 R/Filter /FlateDecode>> stream xN0E-bEi*EE /}lvݖnH:s2"g<^43B/Sqk XЅvj#91Ӳiy,u%|RMSG$播f9 @̏]hǡg:L]*(dAa't0sme2^tc,u)fjgFմ^YI\5Y5YvFBL_;*"I@YoPa:=#TI$|#S)#'*sH'S-J*ix7\2BN%v]3VӀ}(6vrNuϋ1Vc8D&d_fՊendstream endobj 6 0 obj 390 endobj 4 0 obj <</Type/Page/MediaBox [0 0 254 46] /Parent 3 0 R /Resources<</ProcSet[/PDF /Text] /ExtGState 9 0 R /Font 10 0 R >> /Contents 5 0 R >> endobj 3 0 obj << /Type /Pages /Kids [ 4 0 R ] /Count 1 >> endobj 1 0 obj <</Type /Catalog /Pages 3 0 R >> endobj 7 0 obj <</Type/ExtGState /OPM 1>>endobj 9 0 obj <</R7 7 0 R>> endobj 10 0 obj <</R8 8 0 R>> endobj 8 0 obj <</BaseFont/Courier/Type/Font /Subtype/Type1>> endobj 2 0 obj <</Producer(ESP Ghostscript 815.02) /CreationDate(D:20091026183416) /ModDate(D:20091026183416)>>endobj xref 0 11 0000000000 65535 f 0000000702 00000 n 0000000912 00000 n 0000000643 00000 n 0000000494 00000 n 0000000015 00000 n 0000000475 00000 n 0000000750 00000 n 0000000850 00000 n 0000000791 00000 n 0000000820 00000 n trailer << /Size 11 /Root 1 0 R /Info 2 0 R /ID [(@}`&'S)(@}`&'S)] >> startxref 1023 %%EOF