Commit fb0fc109

fb0fc109eab4Merged

Yasuhiro Matsumoto <[email protected]> · 7 months ago · 1 file · ~1 modified

Description

Use binary write

Details

Commit
fb0fc109eab4
Parent
6aacbdff090d

spinel_parse.cmodifiedView file

@@ -1038,7 +1038,7 @@
10381038 /* Output */
10391039 FILE *out = stdout;
10401040 if (argc >= 3) {
1041- out = fopen(argv[2], "w");
1041+ out = fopen(argv[2], "wb");
10421042 if (!out) {
10431043 fprintf(stderr, "spinel_parse: cannot write '%s'\n", argv[2]);
10441044 return 1;