Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 478330 Details for
Bug 620092
sys-apps/systemd-233-r1 fails to build with gcc 7.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ensure not-null path to basename function.
233-ensure-not-null-pall-to-basename.patch (text/plain), 774 bytes, created by
Luigi 'Comio' Mantellini
on 2017-06-29 10:42:38 UTC
(
hide
)
Description:
Ensure not-null path to basename function.
Filename:
MIME Type:
Creator:
Luigi 'Comio' Mantellini
Created:
2017-06-29 10:42:38 UTC
Size:
774 bytes
patch
obsolete
>--- ./src/core/manager.c.orig 2017-06-29 12:28:00.432581542 +0200 >+++ ./src/core/manager.c 2017-06-29 12:28:23.252883607 +0200 >@@ -1498,7 +1498,7 @@ > if (path && !is_path(path)) > return sd_bus_error_setf(e, SD_BUS_ERROR_INVALID_ARGS, "Path %s is not absolute.", path); > >- if (!name) >+ if (!name && path) > name = basename(path); > > t = unit_name_to_type(name); >--- ./src/shared/install.c.orig 2017-06-29 12:23:12.957500184 +0200 >+++ ./src/shared/install.c 2017-06-29 12:26:54.759752695 +0200 >@@ -1003,7 +1003,7 @@ > assert(c); > assert(name || path); > >- if (!name) >+ if (!name && path) > name = basename(path); > > if (!unit_name_is_valid(name, UNIT_NAME_ANY))
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 620092
:
474620
| 478330 |
478354
|
478424