commands/uidinfo/uidinfo.cpp
changeset 69 849a0b46c767
parent 0 7f656887cf89
equal deleted inserted replaced
68:6a26ca985d90 69:849a0b46c767
    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 				{