comparison src/lread.c @ 195:a2f645c6b9f8 r20-3b24

Import from CVS: tag r20-3b24
author cvs
date Mon, 13 Aug 2007 09:59:05 +0200
parents 3d6bfa290dbd
children e45d5e7c476e
comparison
equal deleted inserted replaced
194:2947057885e5 195:a2f645c6b9f8
1123 } 1123 }
1124 1124
1125 hashtab = locate_file_find_directory_hash_table (pathel); 1125 hashtab = locate_file_find_directory_hash_table (pathel);
1126 1126
1127 /* Loop over suffixes. */ 1127 /* Loop over suffixes. */
1128 for (tail = suffixtab, found = 0; !NILP (tail) && !found; 1128 for (tail = suffixtab, found = 0; !found && CONSP (tail);
1129 tail = Fcdr (tail)) 1129 tail = XCDR (tail))
1130 { 1130 {
1131 if (!NILP (Fgethash (Fcar (tail), hashtab, Qnil))) 1131 if (!NILP (Fgethash (XCAR (tail), hashtab, Qnil)))
1132 found = 1; 1132 found = 1;
1133 } 1133 }
1134 1134
1135 if (found) 1135 if (found)
1136 { 1136 {
1213 while (!NILP (tail)) 1213 while (!NILP (tail))
1214 { 1214 {
1215 tem = Fcar (tail); 1215 tem = Fcar (tail);
1216 1216
1217 /* Find the feature's previous assoc list... */ 1217 /* Find the feature's previous assoc list... */
1218 if (!NILP (Fequal (source, Fcar (tem)))) 1218 if (internal_equal (source, Fcar (tem), 0))
1219 { 1219 {
1220 foundit = 1; 1220 foundit = 1;
1221 1221
1222 /* If we're loading, remove it. */ 1222 /* If we're loading, remove it. */
1223 if (loading) 1223 if (loading)
1233 { 1233 {
1234 tem2 = Vcurrent_load_list; 1234 tem2 = Vcurrent_load_list;
1235 1235
1236 while (CONSP (tem2)) 1236 while (CONSP (tem2))
1237 { 1237 {
1238 newelt = Fcar (tem2); 1238 newelt = XCAR (tem2);
1239 1239
1240 if (NILP (Fmemq (newelt, tem))) 1240 if (NILP (Fmemq (newelt, tem)))
1241 Fsetcar (tail, Fcons (Fcar (tem), 1241 Fsetcar (tail, Fcons (Fcar (tem),
1242 Fcons (newelt, Fcdr (tem)))); 1242 Fcons (newelt, Fcdr (tem))));
1243 1243
1244 tem2 = Fcdr (tem2); 1244 tem2 = XCDR (tem2);
1245 QUIT; 1245 QUIT;
1246 } 1246 }
1247 } 1247 }
1248 } 1248 }
1249 else 1249 else