diff --git a/vfs/ChangeLog b/vfs/ChangeLog index a3e447034..041d7de64 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,12 @@ +Tue Jan 19 05:15:49 1999 Timur I. Bakeyev + + * Converted all occurences of DIR_SEP_CHAR and "/" to PATH_SEP and + PATH_SEP_STR. Additionall cleanups of the memory code. + + * utilvfs.h: Added several defenitions for common sizes for buffers. + It seems, most of us experience problems, when inventing size for new + buffer. This is much better and portable way to eliminate the problem. + 1999-01-18 Miguel de Icaza * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR diff --git a/vfs/utilvfs.h b/vfs/utilvfs.h new file mode 100644 index 000000000..05f917614 --- /dev/null +++ b/vfs/utilvfs.h @@ -0,0 +1,22 @@ +#include +#include "../src/fs.h" + +#include + +#include "../src/tty.h" /* enable/disable interrupt key */ +#include "../src/main.h" + +#include "../src/mem.h" +#include "../src/util.h" +#include "../src/mad.h" + + +#define BUF_4K 4096 +#define BUF_1K 1024 + +#define BUF_LARGE BUF_1K +#define BUF_MEDIUM 512 +#define BUF_SMALL 128 +#define BUF_TINY 64 + +char* append_path_sep (char *path);