Projects
openEuler:24.03:SP1:Everything
elinks
_service:tar_scm:elinks-0.11.0-sysname.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:elinks-0.11.0-sysname.patch of Package elinks
--- elinks-0.11.0/src/osdep/sysname.c.sysname 2006-01-01 17:39:36.000000000 +0100 +++ elinks-0.11.0/src/osdep/sysname.c 2006-01-10 09:34:14.000000000 +0100 @@ -26,7 +26,7 @@ FILE *f; unsigned char *p; - f = popen("uname -srm", "r"); + f = popen("uname -s", "r"); if (!f) return 0; if (fread(system_name, 1, sizeof(system_name) - 1, f) <= 0) { @@ -58,7 +58,7 @@ if (!uname(&name)) { snprintf(system_name, sizeof(system_name), - "%s %s %s", name.sysname, name.release, name.machine); + "%s", name.sysname); return; } #endif
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2