1
1

add new header file - utilvfs.h. this intended to be a stock include, which

provides proper order for common include files.
Этот коммит содержится в:
Timur Bakeyev 1999-01-19 02:23:30 +00:00
родитель 59456b92ed
Коммит 8cdf4d3f6f
2 изменённых файлов: 31 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,12 @@
Tue Jan 19 05:15:49 1999 Timur I. Bakeyev <timur@com.bat.ru>
* 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 <miguel@nuclecu.unam.mx>
* vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR

22
vfs/utilvfs.h Обычный файл
Просмотреть файл

@ -0,0 +1,22 @@
#include <config.h>
#include "../src/fs.h"
#include <glib.h>
#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);