Implemented __syschdir on CBM. As getcwd returns a cached directory any direct access to __curunit would cause inconsistencies. Therefore __curunit was renamed to curunit to prohibit user access.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5857 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-10-16 21:39:40 +00:00
parent 6618e08bc3
commit 8b26ed2a69
6 changed files with 151 additions and 66 deletions

View File

@@ -81,10 +81,9 @@
/* The file stream implementation and the POSIX I/O functions will use the
* following variables to determine the file type and the disk unit to use.
/* The file stream implementation and the POSIX I/O functions will
* use the following variable to determine the file type to use.
*/
extern unsigned char _curunit; /* Defaults to current when program started */
extern char _filetype; /* Defaults to 's' */