CVS code -
- General
- - Added configure argument --disable tabcomp. Affects
- configure.in, configure, bottom of files.c and write_file, and
- winio.c:nanogettsr().
+ - Added configure argument --disable-tabcomp. Affects
+ configure.in, configure, bottom of files.c and write_file,
+ utils.c:check_wildcard_match() and winio.c:nanogettsr().
- Username tab completion code, and cleaned up existing tabcomp
code. New functions real_dir_from_tide(), append_slash_if_dir(),
username_tab_completion is more than a stub now =-).
write_file()
- Unsetting modified on temp files bug fixed (Rocco Corsi).
do_insertfile()
- - Added call to real_name_from tilde, oops.
+ - Added call to real_name_from tilde, oops. Added check for
+ DISABLE_TABCOMP.
read_file()
- Added check for fileptr == NULL.
- global.c:
fprintf(stderr, "filename is %s", answer);
#endif
+#ifndef DISABLE_TABCOMP
realname = real_dir_from_tilde(answer);
+#else
+ realname = mallocstrcpy(realname, answer);
+#endif
i = open_file(realname, 1, 0);
free(realname);
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-11-29 18:56-0500\n"
+"POT-Creation-Date: 2000-11-29 21:22-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "File to insert [from ./] "
msgstr ""
-#: files.c:280 files.c:305 files.c:513 nano.c:1381
+#: files.c:284 files.c:309 files.c:517 nano.c:1381
msgid "Cancelled"
msgstr ""
-#: files.c:335 files.c:356 files.c:370 files.c:387 files.c:393
+#: files.c:339 files.c:360 files.c:374 files.c:391 files.c:397
#, c-format
msgid "Could not open file for writing: %s"
msgstr ""
-#: files.c:344
+#: files.c:348
msgid "Could not open file: Path length exceeded."
msgstr ""
-#: files.c:375
+#: files.c:379
#, c-format
msgid "Wrote >%s\n"
msgstr ""
-#: files.c:402
+#: files.c:406
#, c-format
msgid "Could not close %s: %s"
msgstr ""
#. Try a rename??
-#: files.c:423 files.c:434 files.c:439
+#: files.c:427 files.c:438 files.c:443
#, c-format
msgid "Could not open %s for writing: %s"
msgstr ""
-#: files.c:445
+#: files.c:449
#, c-format
msgid "Could not set permissions %o on %s: %s"
msgstr ""
-#: files.c:452
+#: files.c:456
#, c-format
msgid "Wrote %d lines"
msgstr ""
-#: files.c:484
+#: files.c:488
msgid "File Name to write"
msgstr ""
-#: files.c:489
+#: files.c:493
#, c-format
msgid "filename is %s"
msgstr ""
-#: files.c:502
+#: files.c:506
msgid "File exists, OVERWRITE ?"
msgstr ""
-#: files.c:991
+#: files.c:995
msgid "(more)"
msgstr ""
totlines++;
}
+#ifndef DISABLE_TABCOMP
/*
* Routine to see if a text string is matched by a wildcard pattern.
* Returns TRUE if the text is matched, or FALSE if it is not matched
return TRUE;
}
+#endif