• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

oga's tools


Commit MetaInfo

Revision97c43c418b88582d01cd384925b9cbd8b553a040 (tree)
Time2014-01-03 17:39:17
Authoroga <oga@mxg....>
Commiteroga

Log Message

13.01.03 V1.03 u2dos.c support Win/X68K

Change Summary

Incremental Difference

--- a/u2dos.c
+++ b/u2dos.c
@@ -4,10 +4,12 @@
44 * 96.04.07 V1.00 by oga
55 * 07.05.13 V1.01 fix bug
66 * 11.01.01 V1.02 fix empty line bug
7+ * 13.01.03 V1.03 support Win/X68K
78 */
89 #include <stdio.h>
910 #include <stdlib.h>
1011 #include <string.h>
12+#include <fcntl.h>
1113
1214 main(a,b)
1315 int a;
@@ -28,6 +30,8 @@ char *b[];
2830 fp = stdin;
2931 }
3032
33+ setmode(fileno(stdout), O_BINARY); /* V1.03-A */
34+
3135 #if 1 /* V1.01-C */
3236 while (fgets(buf, sizeof(buf), fp)) {
3337 len = strlen(buf);