schism
ImpulseTracker clone aiming at providing the same look&feel.
Home page: http://nimh.org/schismtracker
Log
- Started: -
- Discussed: -
- Draft Submitted: -
- Submitted: -
- Accepted: -
ToDo
Here is the output of grep -R PATH_MAX schism-0+20110101/*
:
include/disko.h: char tempname[PATH_MAX];
include/disko.h: char filename[PATH_MAX];
include/headers.h:# undef PATH_MAX
schism/disko.c: if (len + 6 >= PATH_MAX) {
schism/audio_loadsave.c:char song_filename[PATH_MAX + 1];
schism/audio_loadsave.c: strncpy(song_filename, file, PATH_MAX);
schism/audio_loadsave.c: song_filename[PATH_MAX] = '\0';
schism/page_loadmodule.c:static char filename_entry[PATH_MAX + 1] = "";
schism/page_loadmodule.c:static char dirname_entry[PATH_MAX + 1] = "";
schism/page_loadmodule.c:char cfg_module_pattern[PATH_MAX + 1] = GLOB_DEFAULT;
schism/page_loadmodule.c:static char glob_list_src[PATH_MAX + 1] = ""; // the pattern used to make glob_list (this is an icky hack)
schism/page_loadmodule.c: strncpy(glob_list_src, globspec, PATH_MAX);
schism/page_loadmodule.c: glob_list_src[PATH_MAX] = '\0';
schism/page_loadmodule.c: strncpy(cfg_dir_modules, ptr, PATH_MAX);
schism/page_loadmodule.c: cfg_dir_modules[PATH_MAX] = 0;
schism/page_loadmodule.c: create_textentry(widgets_loadmodule + 2, 13, 46, 64, 0, 3, 3, NULL, filename_entry, PATH_MAX);
schism/page_loadmodule.c: create_textentry(widgets_loadmodule + 3, 13, 47, 64, 2, 3, 0, NULL, dirname_entry, PATH_MAX);
schism/page_loadmodule.c: create_textentry(widgets_exportsave + 2, 13, 46, 64, 0, 3, 3, NULL, filename_entry, PATH_MAX);
schism/page_loadmodule.c: create_textentry(widgets_exportsave + 3, 13, 47, 64, 2, 0, 0, NULL, dirname_entry, PATH_MAX);
schism/util.c: char buf[PATH_MAX];
schism/util.c: if (strlen(filename) > PATH_MAX - 16) {
schism/util.c: char buf[PATH_MAX + 1];
schism/util.c: if (getcwd(buf, PATH_MAX))
schism/util.c: char buf[PATH_MAX + 1];
schism/util.c: if (getcwd(buf, PATH_MAX))
schism/util.c: char buf[PATH_MAX + 1];
schism/util.c: char buf[PATH_MAX];
schism/util.c: char buf2[PATH_MAX];
schism/util.c: if (!GetCurrentDirectory(PATH_MAX-1,buf)) return 0;
schism/util.c: snprintf(buf2, PATH_MAX-2, "%s.bat", name);
schism/main.c: strncpy(cfg_dir_modules, initial_dir, PATH_MAX);
schism/main.c: cfg_dir_modules[PATH_MAX] = 0;
schism/main.c: strncpy(cfg_dir_samples, initial_dir, PATH_MAX);
schism/main.c: cfg_dir_samples[PATH_MAX] = 0;
schism/main.c: strncpy(cfg_dir_instruments, initial_dir, PATH_MAX);
schism/main.c: cfg_dir_instruments[PATH_MAX] = 0;
schism/page_loadinst.c:static char inst_cwd[PATH_MAX+1] = "";
schism/page_loadinst.c:static char slash_search_str[PATH_MAX];
schism/page_loadinst.c: strncpy(cfg_dir_instruments, ptr, PATH_MAX);
schism/page_loadinst.c: cfg_dir_instruments[PATH_MAX] = 0;
schism/page_loadinst.c: strncpy(inst_cwd, ptr, PATH_MAX);
schism/page_loadinst.c: inst_cwd[PATH_MAX] = 0;
schism/page_loadinst.c: if (slash_search_mode < PATH_MAX) {
schism/config.c:char cfg_dir_modules[PATH_MAX + 1], cfg_dir_samples[PATH_MAX + 1], cfg_dir_instruments[PATH_MAX + 1],
schism/config.c: cfg_dir_dotschism[PATH_MAX + 1], cfg_font[NAME_MAX + 1];
schism/config.c: strncpy(cfg_dir_dotschism, ptr, PATH_MAX);
schism/config.c: cfg_dir_dotschism[PATH_MAX] = 0;
schism/config.c: cfg_get_string(&cfg, "Directories", "modules", cfg_dir_modules, PATH_MAX, tmp);
schism/config.c: cfg_get_string(&cfg, "Directories", "samples", cfg_dir_samples, PATH_MAX, tmp);
schism/config.c: cfg_get_string(&cfg, "Directories", "instruments", cfg_dir_instruments, PATH_MAX, tmp);
schism/config.c: strncpy(cfg_module_pattern, ptr, PATH_MAX);
schism/config.c: cfg_module_pattern[PATH_MAX] = 0;
schism/page_vars.c: cfg_dir_modules, PATH_MAX);
schism/page_vars.c: cfg_dir_samples, PATH_MAX);
schism/page_vars.c: cfg_dir_instruments, PATH_MAX);
schism/page_loadsample.c:static char current_filename[PATH_MAX];
schism/page_loadsample.c:static char search_str[PATH_MAX];
schism/page_loadsample.c: PATH_MAX-1);
schism/page_loadsample.c: PATH_MAX-1);
schism/page_loadsample.c: strncpy(cfg_dir_samples, ptr, PATH_MAX);
schism/page_loadsample.c: cfg_dir_samples[PATH_MAX] = 0;
schism/page_loadsample.c: if (search_pos < PATH_MAX) {
Comments
Not yet started.
Looks like a lot, but most of them, if not all, are trivial.