summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-26 10:57:52 +0000
committerache <ache@FreeBSD.org>1995-10-26 10:57:52 +0000
commitc2d646c037642a3805bf48335f23d71ce1e72d34 (patch)
treefb981b4bdd911006ae4733cd0634370b749bea5a /bin/ps
parent31de4a4cc91ec74916b76f5abc79131cc59bf4df (diff)
downloadFreeBSD-src-c2d646c037642a3805bf48335f23d71ce1e72d34.zip
FreeBSD-src-c2d646c037642a3805bf48335f23d71ce1e72d34.tar.gz
Change local to LC_ALL, there is no bitmask
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/ps.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index f7f3485..fae17b2 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ps.c,v 1.7 1995/05/30 00:07:05 rgrimes Exp $
+ * $Id: ps.c,v 1.8 1995/10/23 21:06:31 ache Exp $
*/
#ifndef lint
@@ -117,7 +117,8 @@ main(argc, argv)
int prtheader, wflag, what, xflg;
char *nlistf, *memf, *swapf, errbuf[256];
- (void) setlocale(LC_CTYPE|LC_TIME, "");
+ (void) setlocale(LC_ALL, "");
+
if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) == -1 &&
ioctl(STDERR_FILENO, TIOCGWINSZ, (char *)&ws) == -1 &&
ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&ws) == -1) ||
OpenPOWER on IntegriCloud