[PATCH] xfsprogs: fix readline/editline for xfs_io and xfs_quota

Christoph Hellwig hch at infradead.org
Sat May 16 15:34:13 CDT 2009


On Fri, May 15, 2009 at 08:31:40PM -0500, Eric Sandeen wrote:
> It looks like libxcmd wasn't ever being built with -DENABLE_READLINE
> even when it was asked for by configure --enable-readline=yes
> so xfs_io & xfs_quota didn't get the functionality.
> 
> This seems to fix it up for me (fixes editline too while we're
> at it).

I've also been wondering for quite some while why xfs_io didn't have
working readline support.

This patch makes it work for me and looks good:


Reviewed-by: Christoph Hellwig <hch at lst.de>

(btw, any reason we don't enable readline support by default if
we find the headers installed?)




More information about the xfs mailing list