diff options
-rw-r--r-- | gr-run-waveform/xyzzy-load.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/gr-run-waveform/xyzzy-load.c b/gr-run-waveform/xyzzy-load.c index 810f5c51b..65e22c561 100644 --- a/gr-run-waveform/xyzzy-load.c +++ b/gr-run-waveform/xyzzy-load.c @@ -257,26 +257,6 @@ SCM_DEFINE (scm_xyzzy_search_path, "xyyzy-search-path", 2, 1, 0, /* If the file exists at all, we should return it. If the file is inaccessible, then that's an error. */ -#if 0 - const char *magic = "/-xyzzy-"; - if (strncmp(scm_to_locale_string(dir), magic, strlen(magic)) == 0) { - /* Look in the fake filesystem for this file. If we find it, we prepend a - magic number to the front so we can identify these special files later - on when trying to read from them. */ - if (xyzzy_file_exists(buf.buf)) { - result = scm_from_locale_string (buf.buf); - goto end; - } - } else { - if (stat (buf.buf, &mode) == 0 - && ! (mode.st_mode & S_IFDIR)) - { - result = scm_from_locale_string (buf.buf); - goto end; - } - } -#else - fprintf(stderr, "TRACE %s: %d: \"%s\"\n", __FUNCTION__, __LINE__, buf.buf); if (xyzzy_file_exists(buf.buf) @@ -286,7 +266,6 @@ SCM_DEFINE (scm_xyzzy_search_path, "xyyzy-search-path", 2, 1, 0, result = scm_from_locale_string (buf.buf); goto end; } -#endif } if (!SCM_NULL_OR_NIL_P (exts)) @@ -308,4 +287,5 @@ void scm_xyzzy_init (void) { scm_c_define_gsubr ("xyzzy-search-path", 2, 1, 0, (SCM (*)()) scm_xyzzy_search_path); + /* scm_make_port_type("gnuradio", xyzzy_fill_input, xyzzy_write); */ } |