• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

シェルスクリプト言語xyzshのソースコード。


Commit MetaInfo

Révisiondd3176ac6705a348c5d231a990e1cb6f2e52d365 (tree)
l'heure2012-11-12 17:33:42
Auteurab25cq <ab25cq@gmai...>
Commiterab25cq

Message de Log

v1.2.0

Change Summary

Modification

--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,12 @@
11
2+2012 11月12日 version 1.2.0
3+
4+ 1. Fedoraでのコンパイルエラーを修正。
5+
6+2012 12th November version 1.2.0
7+
8+ 1. Checked to compile xyzsh on Fedora 18
9+
210 2012 11月8日 version 1.1.9
311
412 1. コマンドが見つからない場合のエラーメッセージを改良しました。ちゃんとプログラム名が書かれます。
--- a/README
+++ b/README
@@ -21,6 +21,7 @@ How to compile
2121 Before compiling xyzsh, you need to resolve dependencies below. You need development packages.(ex. ncurses-devel or libncurse-dev)
2222
2323 gcc
24+ GNU make
2425 libc
2526 libm
2627 ncurses
@@ -29,13 +30,13 @@ How to compile
2930
3031 Have you installed above libraries? You can type below commands to compile xyzsh.
3132
32- ./configure
33+ ./configure --with-optimize
3334 make
3435 sudo make install
3536
3637 or
3738
38- ./configure
39+ ./configure --with-optimize
3940 make
4041 su
4142 make install
@@ -45,13 +46,13 @@ How to compile
4546
4647 If you want to change an installed directory, type below
4748
48- ./configure --prefix=???
49+ ./configure --prefix=??? --with-optimize
4950 make
5051 sudo make install
5152
5253 or
5354
54- ./configure
55+ ./configure --with-optimize
5556 make
5657 sudo make DESTDIR=??? install
5758
--- a/USAGE.ja
+++ b/USAGE.ja
@@ -507,7 +507,7 @@
507507
508508 2.3 外部コマンド
509509
510- 外部コマンドは起動時にrehashされてeysオブジェクトの中に外部コマンドオブジェクトとして入れられます。
510+ 外部コマンドは起動時にrehashされてsysオブジェクトの中に外部コマンドオブジェクトとして入れられます。
511511 rehash内部コマンドが実行されるたびにsysオブジェクトの中に新しく作られます。
512512
513513 > sys::dmesg # dmesg外部コマンドを実行
--- a/src/cmd_condition.c
+++ b/src/cmd_condition.c
@@ -786,7 +786,7 @@ BOOL cmd_condition_re(sObject* nextin, sObject* nextout, sRunInfo* runinfo)
786786 #if defined(HAVE_MIGEMO_H)
787787 #include <migemo.h>
788788
789-migemo* gMigemo;
789+static migemo* gMigemo;
790790 static regex_t* gReg;
791791
792792 void migemo_init()
--- a/src/xyzsh.c
+++ b/src/xyzsh.c
@@ -112,7 +112,7 @@ static void xyzsh_read_rc()
112112
113113 void xyzsh_init(enum eAppType app_type, BOOL no_runtime_script)
114114 {
115- setenv("XYZSH_VERSION", "1.1.9", 1);
115+ setenv("XYZSH_VERSION", "1.2.0", 1);
116116 setenv("XYZSH_DATAROOTDIR", DATAROOTDIR, 1);
117117
118118 stack_init(1);;
--- a/src/xyzsh/xyzsh.h
+++ b/src/xyzsh/xyzsh.h
@@ -183,16 +183,16 @@ enum eEnvKind { kEnv, kEnvBlock};
183183
184184 typedef struct {
185185 enum eEnvKind mKind;
186+ BOOL mDoubleDollar;
187+
186188 union {
187189 struct {
188190 char* mName;
189191 char* mKey;
190192 BOOL mKeyEnv;
191- BOOL mDoubleDollar;
192193 };
193194 struct {
194195 struct _sObject* mBlock;
195- BOOL mDoubleDollar;
196196 enum eLineField mLineField;
197197 };
198198 };