Blame SOURCES/elinks-0.11.0-sysname.patch
|
|
5a1f25 |
--- elinks-0.11.0/src/osdep/sysname.c.sysname 2006-01-01 17:39:36.000000000 +0100
|
|
|
5a1f25 |
+++ elinks-0.11.0/src/osdep/sysname.c 2006-01-10 09:34:14.000000000 +0100
|
|
|
5a1f25 |
@@ -26,7 +26,7 @@
|
|
|
5a1f25 |
FILE *f;
|
|
|
5a1f25 |
unsigned char *p;
|
|
|
5a1f25 |
|
|
|
5a1f25 |
- f = popen("uname -srm", "r");
|
|
|
5a1f25 |
+ f = popen("uname -s", "r");
|
|
|
5a1f25 |
if (!f) return 0;
|
|
|
5a1f25 |
|
|
|
5a1f25 |
if (fread(system_name, 1, sizeof(system_name) - 1, f) <= 0) {
|
|
|
5a1f25 |
@@ -58,7 +58,7 @@
|
|
|
5a1f25 |
|
|
|
5a1f25 |
if (!uname(&name)) {
|
|
|
5a1f25 |
snprintf(system_name, sizeof(system_name),
|
|
|
5a1f25 |
- "%s %s %s", name.sysname, name.release, name.machine);
|
|
|
5a1f25 |
+ "%s", name.sysname);
|
|
|
5a1f25 |
return;
|
|
|
5a1f25 |
}
|
|
|
5a1f25 |
#endif
|