summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPhillip Susi <psusi@ubuntu.com>2013-01-05 15:13:50 -0500
committerPhillip Susi <psusi@ubuntu.com>2013-11-23 16:43:43 -0500
commit8ae195863e7d6950cfcc7a067f52e46f295655a7 (patch)
tree8114a0364a7040f38cf3edca72989e5828aeff23 /NEWS
parent9b8f632e102c0d9e2187f0c8d8205862540cdcd1 (diff)
downloadparted-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--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 50faf4d..a27200b 100644
--- a/NEWS
+++ b/NEWS
@@ -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.