Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148388497
D49230.1786594626.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
325 B
Referenced Files
None
Subscribers
None
D49230.1786594626.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 13, 4:17 AM (10 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29400701
Default Alt Text
D49230.1786594626.diff (325 B)
Attached To
Mode
D49230: top: Make locale issues non-fatal.
Attached
Detach File
Event Timeline
Log In to Comment