Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 181515 Details for
Bug 232084
net-misc/dhcdbd-3.0 - open with O_CREAT in second argument needs 3 arguments in dhcdbd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix_open_missing_mode
dhcdbd_fix_open_missing_mode.diff (text/plain), 639 bytes, created by
Gabriel Máculus
on 2009-02-10 07:55:48 UTC
(
hide
)
Description:
fix_open_missing_mode
Filename:
MIME Type:
Creator:
Gabriel Máculus
Created:
2009-02-10 07:55:48 UTC
Size:
639 bytes
patch
obsolete
>diff -urN dhcdbd-3.0.orig/temp/environment dhcdbd-3.0/temp/environment >--- dhcdbd-3.0.orig/work/dhcdbd-3.0/src/dhcdbd.c 2009-02-09 13:54:24.533255364 +0000 >+++ dhcdbd-3.0/work/dhcdbd-3.0/src/dhcdbd.c 2009-02-09 14:01:02.868255071 +0000 >@@ -2813,7 +2813,7 @@ > if (dhcdbd_daemonize && (daemon (0, 0) == -1)) > return errno; > unlink (DHCDBD_PID_FILE); >- if ((fd = open (DHCDBD_PID_FILE, O_WRONLY | O_CREAT)) == -1) >+ if ((fd = open (DHCDBD_PID_FILE, O_WRONLY || O_CREAT)) == -1) > exit (errno); > l = sprintf (path, "%u", getpid ()); > l = write (fd, path, l);
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 232084
:
160646
|
181515