diff options
author | Phillip Susi <psusi@ubuntu.com> | 2013-01-05 15:13:50 -0500 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2013-11-23 16:43:43 -0500 |
commit | 8ae195863e7d6950cfcc7a067f52e46f295655a7 (patch) | |
tree | 8114a0364a7040f38cf3edca72989e5828aeff23 /NEWS | |
parent | 9b8f632e102c0d9e2187f0c8d8205862540cdcd1 (diff) | |
download | parted-8ae195863e7d6950cfcc7a067f52e46f295655a7.tar.gz |
parted: fix EOF and ctrl-c handling
feof() seems to not detect EOF after readline() hits it, so parted went
into an infinite loop prompting for input on EOF. Change test to use the
got_ctrl_c variable instead, which is set when readline hits EOF and
returns NULL. This also makes parted properly exit on ctrl-c.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,10 @@ GNU parted NEWS -*- outline -*- ** Bug Fixes + parted: fix EOF and ctrl-c handling. parted used to refuse to exit + in response to ctrl-c and would get stuck in an infinite loop + prompting for more input when it reached EOF on stdin. + libparted: Don't fail to manipulate partitions on dmraid disks that have other partitions in use. |