summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/h5ls.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-10-07 05:08:05 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-10-07 05:08:05 (GMT)
commit8d8f365711cd9c5bb27a7db31d986dad779506f6 (patch)
tree7c8e84fa28f8ea1acd54d199e63b83490dcac787 /tools/h5ls/h5ls.c
parent7f1379704fd291c2f1a16c0087690f0b2ce90e4c (diff)
downloadhdf5-8d8f365711cd9c5bb27a7db31d986dad779506f6.zip
hdf5-8d8f365711cd9c5bb27a7db31d986dad779506f6.tar.gz
hdf5-8d8f365711cd9c5bb27a7db31d986dad779506f6.tar.bz2
[svn-r17606] Code 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) */