This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
chdir() is not per thread and JFFS2 unmount
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 01 Apr 2004 15:21:46 +0200
- Subject: [ECOS] chdir() is not per thread and JFFS2 unmount
- Organization: Zylin AS
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