Project

General

Profile

Bug #1664 ยป test_config_file.diff

include_filename.diff - lunatic, 2008-05-14 10:51

View differences:

src/configfile.c
876 876
			(fn[0] == '/' || fn[0] == '\\') &&
877 877
			(fn[0] == '.' && (fn[1] == '/' || fn[1] == '\\'))) {
878 878
		filename = buffer_init_string(fn);
879
	} else if (fn[0] == '/' || fn[0] == '\\' || 
880
			(fn[0] == '.' && (fn[1] == '/' || fn[1] == '\\'))) {
881
		filename = buffer_init_string(fn);
879 882
	} else {
880 883
		filename = buffer_init_buffer(context->basedir);
881 884
		buffer_append_string(filename, fn);
    (1-1/1)