• R/O
  • SSH
  • HTTPS

yash: 提交


Commit MetaInfo

修訂5 (tree)
時間2007-11-29 14:28:32
作者ywtnb

Log Message

version changed, minor fix

Change Summary

差異

--- yash/branches/newparser/builtin.c (revision 4)
+++ yash/branches/newparser/builtin.c (revision 5)
@@ -1040,7 +1040,7 @@
10401040 }
10411041 }
10421042 if (removeall) {
1043- remove_all_alias();
1043+ remove_all_aliases();
10441044 return EXIT_SUCCESS;
10451045 }
10461046 for (; optind < argc; optind++) {
--- yash/branches/newparser/alias.c (revision 4)
+++ yash/branches/newparser/alias.c (revision 5)
@@ -16,7 +16,7 @@
1616
1717 int set_alias(const char *name, const char *value);
1818 int remove_alias(const char *name);
19-void remove_all_alias(void);
19+void remove_all_aliases(void);
2020 const char *get_alias(const char *name);
2121 const ALIAS *get_all_aliases(void);
2222 int for_all_aliases(int (*func)(const char *name, const char *value));
@@ -87,7 +87,7 @@
8787 }
8888
8989 /* 全エイリアスを削除する。 */
90-void remove_all_alias(void)
90+void remove_all_aliases(void)
9191 {
9292 ALIAS *a = aliases;
9393
--- yash/branches/newparser/yash.h (revision 4)
+++ yash/branches/newparser/yash.h (revision 5)
@@ -18,7 +18,7 @@
1818
1919 /* -- Misc -- */
2020
21-#define YASH_VERSION "0.11"
21+#define YASH_VERSION "1.0"
2222 #define YASH_COPYRIGHT "Copyright (C) 2007 magicant"
2323
2424 #define ENV_USER "USER"
@@ -220,7 +220,7 @@
220220
221221 int set_alias(const char *name, const char *value);
222222 int remove_alias(const char *name);
223-void remove_all_alias(void);
223+void remove_all_aliases(void);
224224 const char *get_alias(const char *name);
225225 const ALIAS *get_all_aliases(void);
226226 int for_all_aliases(int (*func)(const char *name, const char *value));
Show on old repository browser