[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
path vs file name
From: |
Alfred M. Szmidt |
Subject: |
path vs file name |
Date: |
Mon, 10 Jan 2005 18:27:53 +0100 |
This one annoyed me a bit, there might be other places where the word
"path" is incorrectly used for "file name". From the GCS (and I
happen to agree quite strongly):
Please do not use the term "pathname" that is used in Unix
documentation; use "file name" (two words) instead. We use the term
"path" only for search paths, which are lists of directory names.
OK to commit?
2005-01-10 Alfred M. Szmidt <ams@gnu.org>
* console.c (consnode_path): Renamed to ...
(console_node): ... this. Updated all references.
--- console-client/console.c 10 Jan 2005 18:20:18 +0100 1.5
+++ console-client/console.c 10 Jan 2005 18:23:20 +0100
@@ -57,8 +57,9 @@ static int saved_id = 0;
/* The console, used to switch back. */
static cons_t saved_cons;
-/* The pathname of the node on which the translator is set. */
-static char *consnode_path;
+/* The file name of the node on which the console translator is
+ set. */
+static char *console_node;
/* Callbacks for input source drivers. */
@@ -556,8 +557,8 @@ parse_opt (int key, char *arg, struct ar
break;
case 'c':
- consnode_path = arg ? arg : DEFAULT_CONSOLE_NODE;
- if (!consnode_path)
+ console_node = arg ? arg : DEFAULT_CONSOLE_NODE;
+ if (!console_node)
return ENOMEM;
break;
@@ -612,8 +613,8 @@ main (int argc, char *argv[])
error (1, err, "Timer thread initialization failed");
}
- if (consnode_path)
- console_setup_node (consnode_path);
+ if (console_node)
+ console_setup_node (console_node);
cons_server_loop ();
- path vs file name,
Alfred M. Szmidt <=