Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115549627
D49230.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
325 B
Referenced Files
None
Subscribers
None
D49230.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
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)
Attached To
Mode
D49230: top: Make locale issues non-fatal.
Attached
Detach File
Event Timeline
Log In to Comment