• R/O
  • SSH
  • HTTPS

globalbase: Commit


Commit MetaInfo

Revisão5980 (tree)
Hora2019-08-25 13:02:09
Autorjoshua

Mensagem de Log

os veresion

Mudança Sumário

Diff

--- modules/tinyState/trunk/src/arch/posix/machine/Darwin/ts/c++/tsOSversion.cpp (revision 5979)
+++ modules/tinyState/trunk/src/arch/posix/machine/Darwin/ts/c++/tsOSversion.cpp (revision 5980)
@@ -7,7 +7,7 @@
77 #include "ts/c++/tsCallBuffer.h"
88 #include "ts/c++/tsReadLine.h"
99
10-CLASS_TINYSTATE(ts/c++/tsOSversion,ts/c++/tinyState)
10+CLASS_TINYSTATE(ts/c++/tsOSversion,ts/c++/tsOSversionBase)
1111
1212
1313 #if 0
@@ -26,8 +26,6 @@
2626 stdOSversion * vers);
2727 private:
2828 protected:
29- stdOSversion * vers;
30-
3129 tsIOstring * ior;
3230 tsIOstring * ioe;
3331 tsIOstring * iow;
@@ -41,7 +39,7 @@
4139 tsOSversion_::tsOSversion_(
4240 tinyState * _parent,
4341 stdOSversion * vers)
44- : tinyState_(_parent)
42+ : tsOSversionBase_(_parent,vers)
4543 {
4644 REF_SET(this->vers,vers);
4745 }
@@ -51,7 +49,7 @@
5149 tinyState * _parent,
5250 stdOSversion * vers)
5351 {
54- this->TS_BASECLASS::inherit(_parent);
52+ this->TS_BASECLASS::inherit(_parent,vers);
5553 }
5654
5755
@@ -67,7 +65,7 @@
6765 ********************************************/
6866
6967
70-TS_STATE(INI_START)
68+TS_STATE(INI_tsOSversionBase_START)
7169 {
7270 int pid;
7371 listen(parent,TSE_DESTROY);
@@ -117,7 +115,6 @@
117115 }
118116 TS_STATE(FIN_START)
119117 {
120- REF_SET(vers->helper,0);
121118 GCIO(ior,iow,ioe);
122119 REF_SET(ior,0);
123120 REF_SET(iow,0);
@@ -124,5 +121,5 @@
124121 REF_SET(ioe,0);
125122 REF_SET(v,0);
126123 REF_SET(bv,0);
127- return rDO|FIN_TINYSTATE_START;
124+ return rDO|FIN_tsOSversionBase_START;
128125 }
Show on old repository browser