#0 __GI___rewinddir (dirp=dirp@entry=0xc43008) at ../sysdeps/posix/rewinddir.c:34 [Error: rewinddir.c was not found in source tree] #1 0x0000000000427985 in tw_file_start (dfd=dfd@entry=0xc43008, pat=pat@entry=0x662c58 L"") at tw.init.c:737 732: void 733: tw_file_start(DIR *dfd, const Char *pat) 734: { 735: struct varent *vp; 736: USE(pat); 737: SETDIR(dfd) 738: if ((vp = adrof(STRcdpath)) != NULL) 739: tw_env = vp->vec; 740: } /* end tw_file_start */ 741: 742: #2 0x0000000000429431 in tw_collect (command=command@entry=RECOGNIZE, looking=looking@entry=4, exp_dir=exp_dir@entry=0x7ffe6714faf0, exp_name=exp_name@entry=0x7ffe6714fb30, target=0xc27188 L"", pat=pat@entry=0x662c58 L"", flags=64, dir_fd=0xc43008) at tw.parse.c:1360 1355: ni = 0; 1356: getexit(osetexit); 1357: for (;;) { 1358: volatile size_t omark; 1359: 1360: (*tw_start_entry[looking])(dir_fd, pat); 1361: InsideCompletion = 1; 1362: if (setexit()) { 1363: cleanup_pop_mark(omark); 1364: resexit(osetexit); 1365: /* interrupted, clean up */ #3 0x000000000042a8bb in t_search (word=word@entry=0x7ffe6714fc40, command=command@entry=RECOGNIZE, looking=4, looking@entry=4095, list_max=list_max@entry=1, pat=0x662c58 L"", suf=0) at tw.parse.c:1775 1770: res = -1; 1771: goto err_dir; 1772: } 1773: 1774: cleanup_push(&exp_name, Strbuf_cleanup); 1775: numitems = tw_collect(command, looking, &exp_dir, &exp_name, target, pat, 1776: flags, dir_fd); 1777: if (numitems == -1) 1778: goto end; 1779: 1780: switch (command) { #4 0x000000000042b8bc in tenematch (inputline=, num_read=num_read@entry=0, command=command@entry=RECOGNIZE) at tw.parse.c:304 299: else 300: slshp = STRNULL; 301: Strbuf_append(&wordbuf, qline.s + wordp); 302: Strbuf_terminate(&wordbuf); 303: cleanup_push(&wordbuf, Strbuf_cleanup); 304: search_ret = t_search(&wordbuf, command, looking, 1, pat, suf); 305: qline.len = wordp; 306: Strbuf_append(&qline, wordbuf.s); 307: Strbuf_terminate(&qline); 308: cleanup_until(&wordbuf); 309: SearchNoDirErr = 0; #5 0x000000000043a2f9 in Inputl () at ed.inputl.c:415 410: * Modified by Martin Boyer (gamin@ireq-robot.hydro.qc.ca): 411: * A separate variable now controls beeping after 412: * completion, independently of autolisting. 413: */ 414: expnum = (int) (Cursor - InputBuf); 415: switch (matchval = tenematch(InputBuf, Cursor-InputBuf, fn)){ 416: case 1: 417: if (non_unique_match && matchbeep && 418: matchbeep->vec != NULL && 419: (Strcmp(*(matchbeep->vec), STRnotunique) == 0)) 420: SoundBeep(); #6 0x0000000000419eda in bgetc () at sh.lex.c:1659 1654: #if defined(FILEC) && defined(TIOCSTI) 1655: if (!editing) 1656: c = numleft = tenex(InputBuf, BUFSIZE); 1657: else 1658: #endif /* FILEC && TIOCSTI */ 1659: c = numleft = Inputl(); /* PWP: get a line */ 1660: while (numleft > 0) { 1661: off = (int) feobp % BUFSIZE; 1662: buf = (int) feobp / BUFSIZE; 1663: balloc(buf); 1664: roomleft = BUFSIZE - off; #7 readc (wanteof=wanteof@entry=0) at sh.lex.c:1420 1415: return (c); 1416: } 1417: #ifdef BSDJOBS 1418: reread: 1419: #endif /* BSDJOBS */ 1420: c = bgetc(); 1421: if (c == CHAR_ERR) { 1422: #ifndef WINNT_NATIVE 1423: # ifndef POSIX 1424: # ifdef TERMIO 1425: struct termio tty; #8 0x000000000041c8cf in readc (wanteof=0) at sh.lex.c:333 328: 329: case ';': 330: case '(': 331: case ')': 332: case '\n': 333: Strbuf_append1(&wbuf, c); 334: goto ret; 335: 336: case '\\': 337: c = getC(0); 338: if (c == '\n') { #9 lex (hp=hp@entry=0x674ff0 ) at sh.lex.c:162 157: btell(&lineloc); 158: hp->next = hp->prev = hp; 159: hp->word = STRNULL; 160: hadhist = 0; 161: do 162: c = readc(0); 163: while (c == ' ' || c == '\t'); 164: if (c == (eChar)HISTSUB && intty) 165: /* ^lef^rit from tty is short !:s^lef^rit */ 166: getexcl(c); 167: else #10 0x000000000040589d in process (catch=1) at sh.c:2040 2035: /* 2036: * Interruptible during interactive reads 2037: */ 2038: if (setintr) 2039: pintr_push_enable(&old_pintr_disabled); 2040: hadhist = lex(¶ml); 2041: if (setintr) 2042: cleanup_until(&old_pintr_disabled); 2043: cleanup_push(¶ml, lex_cleanup); 2044: 2045: /* #11 0x000000000040495a in main (argc=, argv=0x7ffe671503d8) at sh.c:1407 1402: * All the rest of the world is inside this call. The argument to process 1403: * indicates whether it should catch "error unwinds". Thus if we are a 1404: * interactive shell our call here will never return by being blown past on 1405: * an error. 1406: */ 1407: process(setintr); 1408: 1409: /* 1410: * Mop-up. 1411: */ 1412: /* Take care of these (especially HUP) here instead of inside flush. */