The Samba-Bugzilla – Attachment 8382 Details for
Bug 9539
replace: Compilation of rep_mkstemp fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-replace-Fix-compilation-of-rep_mkstemp.patch (text/plain), 769 bytes, created by
Jesper Larsen (550-5.1.1 The email account that you tried to reach does not exist.)
on 2013-01-04 12:19:00 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jesper Larsen (550-5.1.1 The email account that you tried to reach does not exist.)
Created:
2013-01-04 12:19:00 UTC
Size:
769 bytes
patch
obsolete
>From f4d5f73b289d8379f6dbcacd7acadbd91322064c Mon Sep 17 00:00:00 2001 >From: Jesper Larsen <jesper.larsen@ixonos.com> >Date: Fri, 4 Jan 2013 13:03:58 +0100 >Subject: [PATCH] replace: Fix compilation of rep_mkstemp > >Commit 1fbc185 removed the variable 'p'. >Use the equivalent variable 'template' instead. >--- > lib/replace/replace.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/lib/replace/replace.c b/lib/replace/replace.c >index f37d69f..8f1315a 100644 >--- a/lib/replace/replace.c >+++ b/lib/replace/replace.c >@@ -405,7 +405,7 @@ int rep_mkstemp(char *template) > mktemp(template); > if (template[0] == 0) > return -1; >- return open(p, O_CREAT|O_EXCL|O_RDWR, 0600); >+ return open(template, O_CREAT|O_EXCL|O_RDWR, 0600); > } > #endif > >-- >1.7.9.5 >
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 Raw
Actions:
View
Attachments on
bug 9539
: 8382