summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/h5ls.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-10-07 05:31:49 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-10-07 05:31:49 (GMT)
commitde76999134dffc8700b88115c4bde5fe75acfc60 (patch)
tree642a455b69c922115b400cf3ac77d883907a4f6f /tools/h5ls/h5ls.c
parent190e10b63d143d4c57cba60f6b70cbcc2f0e1af9 (diff)
downloadhdf5-de76999134dffc8700b88115c4bde5fe75acfc60.zip
hdf5-de76999134dffc8700b88115c4bde5fe75acfc60.tar.gz
hdf5-de76999134dffc8700b88115c4bde5fe75acfc60.tar.bz2
[svn-r17607] ode Cleanup:
TFLOPS machine has retired long ago. Removed all code specific for its support. Test: h5committested.
Diffstat (limited to 'tools/h5ls/h5ls.c')
-rw-r--r--tools/h5ls/h5ls.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index ca0ddcb..a2dc128 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -2109,15 +2109,12 @@ get_width(void)
width = w[0];
}
#elif defined(H5_HAVE_TIOCGWINSZ) && defined(H5_HAVE_IOCTL)
-#ifndef __PUMAGON__
-/* the ioctl() call coredump on TFLOPS. Turn it off for now. */
{
/* Unix with ioctl(TIOCGWINSZ) */
struct winsize w;
if (ioctl(2, TIOCGWINSZ, &w)>=0 && w.ws_col>0)
width = w.ws_col;
}
-#endif
#elif defined(H5_HAVE_TIOCGETD) && defined(H5_HAVE_IOCTL)
{
/* Unix with ioctl(TIOCGETD) */