Page MenuHomeFreeBSD

D49230.diff
No OneTemporary

D49230.diff

diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -266,8 +266,8 @@
#endif
if (setlocale(LC_ALL, "") == NULL) {
- fprintf(stderr, "invalid locale.\n");
- exit(1);
+ warnx("invalid locale, check your environment");
+ sleep(2);
}
mypid = getpid();

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 26, 4:58 AM (19 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16994871
Default Alt Text
D49230.diff (325 B)

Event Timeline