Mercurial > emacs
comparison src/lread.c @ 97142:c3512b2085a0
* bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.
* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.
* message.el (Module):
* gnus-start.el (Module):
* gnus-registry.el (Module):
* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.
* etags.c:
* emacsclient.c: Remove VMS support.
* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.
* ediff.texi: Remove VMS support.
* os.texi:
* intro.texi:
* files.texi: Remove VMS support.
* emacs.texi: Remove VMS support.
* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 31 Jul 2008 05:33:56 +0000 |
parents | 9592c50233ab |
children | 9a4bddae759e |
comparison
equal
deleted
inserted
replaced
97141:840bd675fd85 | 97142:c3512b2085a0 |
---|---|
1340 Lisp_Object pathname; | 1340 Lisp_Object pathname; |
1341 { | 1341 { |
1342 register const unsigned char *s = SDATA (pathname); | 1342 register const unsigned char *s = SDATA (pathname); |
1343 return (IS_DIRECTORY_SEP (s[0]) | 1343 return (IS_DIRECTORY_SEP (s[0]) |
1344 || (SCHARS (pathname) > 2 | 1344 || (SCHARS (pathname) > 2 |
1345 && IS_DEVICE_SEP (s[1]) && IS_DIRECTORY_SEP (s[2])) | 1345 && IS_DEVICE_SEP (s[1]) && IS_DIRECTORY_SEP (s[2]))); |
1346 #ifdef VMS | |
1347 || index (s, ':') | |
1348 #endif /* VMS */ | |
1349 ); | |
1350 } | 1346 } |
1351 | 1347 |
1352 DEFUN ("locate-file-internal", Flocate_file_internal, Slocate_file_internal, 2, 4, 0, | 1348 DEFUN ("locate-file-internal", Flocate_file_internal, Slocate_file_internal, 2, 4, 0, |
1353 doc: /* Search for FILENAME through PATH. | 1349 doc: /* Search for FILENAME through PATH. |
1354 Returns the file's name in absolute form, or nil if not found. | 1350 Returns the file's name in absolute form, or nil if not found. |
3717 obarray = check_obarray (obarray); | 3713 obarray = check_obarray (obarray); |
3718 obsize = XVECTOR (obarray)->size; | 3714 obsize = XVECTOR (obarray)->size; |
3719 } | 3715 } |
3720 /* This is sometimes needed in the middle of GC. */ | 3716 /* This is sometimes needed in the middle of GC. */ |
3721 obsize &= ~ARRAY_MARK_FLAG; | 3717 obsize &= ~ARRAY_MARK_FLAG; |
3722 /* Combining next two lines breaks VMS C 2.3. */ | 3718 hash = hash_string (ptr, size_byte) % obsize; |
3723 hash = hash_string (ptr, size_byte); | |
3724 hash %= obsize; | |
3725 bucket = XVECTOR (obarray)->contents[hash]; | 3719 bucket = XVECTOR (obarray)->contents[hash]; |
3726 oblookup_last_bucket_number = hash; | 3720 oblookup_last_bucket_number = hash; |
3727 if (EQ (bucket, make_number (0))) | 3721 if (EQ (bucket, make_number (0))) |
3728 ; | 3722 ; |
3729 else if (!SYMBOLP (bucket)) | 3723 else if (!SYMBOLP (bucket)) |