Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336779 - Eclipse hang when controling d on console
Summary: Eclipse hang when controling d on console
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 01:09 EST by kilopopo CLA
Modified: 2020-09-04 15:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kilopopo CLA 2011-02-10 01:09:20 EST
Build Identifier: Build id: M20100909-0800

Eclipse hang when i hit control d on the console. my code is a simple shell written in c when i type something the shell prints it back what i typed. to end it i must pass EOF to the program with control D

on eclipse console when I hit control D it hangs every time

please fix this.

Reproducible: Always

Steps to Reproduce:
1. run my program
2. go to console cdt and type Control D
3.
Comment 1 kilopopo CLA 2011-02-10 16:23:16 EST
My code is simple.

#include <stdio.h>

int main(){

char c = 'a';

while(c != EOF){
c = getchar();
}

}