This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

chdir() is not per thread and JFFS2 unmount


While tracking down some other bugs I ran into a surprise with current
directories:

1. chdir() does not appear to be tracked per thread.

This seems a bit strange. errno is tracked per thread, so why not
current directory?

io/fileio/current/src/misc.cxx:cyg_dir cyg_cdir_dir = CYG_DIR_NULL;

2. Is chdir(CYG_DIR_NULL) supported? 

http://sources.redhat.com/ml/ecos-discuss/2004-03/msg00155.html


Øyvind





-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]