equal
deleted
inserted
replaced
75 void CCmdUidInfo::DoRunL() |
75 void CCmdUidInfo::DoRunL() |
76 { |
76 { |
77 if (iStdin) |
77 if (iStdin) |
78 { |
78 { |
79 Stdin().SetReadModeL(RIoReadHandle::ELine); |
79 Stdin().SetReadModeL(RIoReadHandle::ELine); |
80 TBuf<512> lineBuf; // Note, the code below doesn't properly handle the situation where a given line of input in longer than this buffer. |
80 TBuf<512> lineBuf; // Note, the code below doesn't properly handle the situation where a given line of input is longer than this buffer. |
81 while (ETrue) |
81 while (ETrue) |
82 { |
82 { |
83 TInt err = Stdin().Read(lineBuf); |
83 TInt err = Stdin().Read(lineBuf); |
84 if (err == KErrEof) |
84 if (err == KErrEof) |
85 { |
85 { |