[dev] [sbase] [PATCH] ls fallback if ioctl does not work

From: Ralph Eastwood <tcmreastwood_AT_gmail.com>
Date: Sun, 15 Feb 2015 14:40:33 +0000

As per discussion on IRC with FRIGN, ioctl is no standard, but it is
probably a defacto standard; how else can you determine the terminal
width portably? However, this patch adds a fallback in case you can't
read the terminal width - this is how cols currently does it.

-- 
Tai Chi Minh Ralph Eastwood
tcmreastwood_AT_gmail.com

Received on Sun Feb 15 2015 - 15:40:33 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 15 2015 - 15:48:06 CET