|
|
@ -67,7 +67,7 @@ loop(#state{parent = Parent, fDir = FDir, fBaseName = FBaseName, size = Size, io |
|
|
|
terminate(Reason, State); |
|
|
|
RMsg -> |
|
|
|
Msg = case TcmIsCut of true -> tpTermCut:cut(RMsg); _ -> RMsg end, |
|
|
|
MsgBin = eFmt:formatBin("~w\n", [Msg]), |
|
|
|
MsgBin = eFmt:formatBin("~10000p\n", [Msg]), |
|
|
|
ok = file:write(IoDevice, MsgBin), |
|
|
|
NewSize = Size + byte_size(MsgBin), |
|
|
|
case NewSize >= MaxSize of |
|
|
|