Changeset 1236 for trunk/src/kash/cd.c
- Timestamp:
- Oct 10, 2007, 2:41:39 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/cd.c
r1233 r1236 335 335 * directory, this routine returns immediately. 336 336 */ 337 void 337 const char * 338 338 getpwd(shinstance *psh, int noerror) 339 339 { … … 343 343 344 344 if (psh->curdir) 345 return ;345 return psh->curdir; 346 346 347 347 if (psh->getpwd_first) { … … 353 353 stdot.st_ino == stpwd.st_ino) { 354 354 psh->curdir = savestr(pwd); 355 return ;355 return psh->curdir; 356 356 } 357 357 } … … 359 359 find_curdir(psh, noerror); 360 360 361 return ;361 return psh->curdir; 362 362 } 363 363
Note:
See TracChangeset
for help on using the changeset viewer.