Alexandra N. Kossovsky's KOI8-R locale fix #153043
This commit is contained in:
1 parent
c2af08f5c0
commit
f0b745c222
2 files changed
+4
-3
No files matched your search
@@ -23,7 +23,7 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <utmp.h>
|
||||
/* #include <sys/param.h>*/ /* for HZ */
|
||||
#include <locale.h>
|
||||
|
||||
static int ignoreuser = 0; /* for '-u' */
|
||||
static proc_t **procs; /* our snapshot of the process table */
|
||||
@@ -238,6 +238,7 @@ int main(int argc, char **argv) {
|
||||
from = 0;
|
||||
#endif
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
for (args=0; (ch = getopt(argc, argv, "hlusfV")) != EOF; args++)
|
||||
switch (ch) {
|
||||
case 'h': header = 0; break;
|
||||
|
||||
Reference in new issue
Block a user