瀏覽代碼

Fix for UpidTK, altlast

git-svn-id: http://repo.nplusc.de/svn/iZink@312 8b19561d-0d00-6744-8ac1-9afc8f58a8aa
masterX244 10 年之前
父節點
當前提交
79d8518e57
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      UpidTK/src/de/nplusc/upidgen/Ifatzeh.java
  2. 1 1
      UpidTK/src/de/nplusc/upidgen/IfatzehRTR.java
  3. 0 0
      UpidTK/upidtk.db

+ 2 - 2
UpidTK/src/de/nplusc/upidgen/Ifatzeh.java

@@ -287,11 +287,11 @@ public class Ifatzeh extends javax.swing.JFrame
                         System.out.println("lfe");
                         PrintStream psOut = new LogStream(
                                 new BufferedOutputStream(new FileOutputStream(
-                                new File("UpidTK.log"))), true);
+                                new File("UpidTK.log"))), true,System.out);
                         System.setOut(psOut);
                         PrintStream psOut2 = new LogStream(
                                 new BufferedOutputStream(new FileOutputStream(
-                                new File("UpidTK-E.log"))), true);
+                                new File("UpidTK-E.log"))), true,System.err);
                         System.setErr(psOut2);
                         System.out.println("lfe");
                         System.err.println("lfe");

+ 1 - 1
UpidTK/src/de/nplusc/upidgen/IfatzehRTR.java

@@ -1986,7 +1986,7 @@ public class IfatzehRTR extends javax.swing.JFrame
         upid = upid.substring(0, ml);//entfernt womöglich schon berechnete CSUM
         // }
         CSUMMED = true;
-        String ret = Tools.runSingleCmd(false, true, true, "D:\\lort\\xampp\\htdocs\\cpltoExx\\upidgen.exe " + upid + " X");
+        String ret = Tools.runSingleCmd(false, true, true, "D:\\lort\\xampp\\htdocs\\cpltoExx\\upidgen.exe",upid,"X");
         Tools.DebugHelperPrint(ret, true, "UpidTK.enableDebug");
         String[] CSUMS = ret.split("\\|");
         boolean setErr = false;

+ 0 - 0
UpidTK/upidtk.db