Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 123933 Details for
Bug 184275
net-irc/xchat-xsys 2.1.0-r1 Patch to fix Gentoo-Release
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.1.0-gentoo-release.patch
2.1.0-gentoo-release.patch (text/plain), 787 bytes, created by
Kalidarn
on 2007-07-05 09:54:37 UTC
(
hide
)
Description:
2.1.0-gentoo-release.patch
Filename:
MIME Type:
Creator:
Kalidarn
Created:
2007-07-05 09:54:37 UTC
Size:
787 bytes
patch
obsolete
>--- parse.orig 2006-06-03 09:44:39.000000000 +0930 >+++ parse.c 2007-07-05 18:56:01.000000000 +0930 >@@ -394,16 +394,8 @@ > } > snprintf(buffer, bsize, "%s \"%s\" %s", id, codename, release); > } >- else if((fp = fopen("/etc/make.conf", "r")) != NULL) >- { >- char keywords[bsize]; >- while(fgets(buffer, bsize, fp) != NULL) >- find_match_char(buffer, "ACCEPT_KEYWORDS", keywords); >- if (strstr(keywords, "\"") == NULL) >- snprintf(buffer, bsize, "Gentoo Linux (stable)"); >- else >- snprintf(buffer, bsize, "Gentoo Linux %s", keywords); >- } >+ else if((fp = fopen("/etc/gentoo-release", "r")) != NULL) >+ fgets(buffer, bsize, fp); > else if((fp = fopen("/etc/redhat-release", "r")) != NULL) > fgets(buffer, bsize, fp); > else if((fp = fopen("/etc/slackware-version", "r")) != NULL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184275
: 123933 |
123934