Bugzilla – Attachment 66615 Details for
Bug 148301
Twinkle new version available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
Small patch to correct a build error
twinkle06.diff (text/x-diff), 812 bytes, created by
Richard Bos
on 2006-02-06 21:27:04 UTC
(
hide
)
Description:
Small patch to correct a build error
Filename:
MIME Type:
Creator:
Richard Bos
Created:
2006-02-06 21:27:04 UTC
Size:
812 bytes
patch
obsolete
>--- src/call_script.cpp.org 2006-02-06 21:54:19.000000000 +0100 >+++ src/call_script.cpp 2006-02-06 21:54:55.000000000 +0100 >@@ -149,7 +149,7 @@ > // NOTE: MEMMAN audits are not called as all pointers will be deleted > // automatically when the child process dies > // Also, the child process has a copy of the MEMMAN object >- char **argv = new (char *)[arg_list.size() + 1]; >+ char **argv = new char *[arg_list.size() + 1]; > > int idx = 0; > for (list<string>::iterator i = arg_list.begin(); >@@ -175,7 +175,7 @@ > int start_twinkle_env = environ_size; // Position of Twinkle variables > environ_size += 1; > >- char **env = new (char*)[environ_size + 1]; >+ char **env = new char*[environ_size + 1]; > > // Copy current environment to child > for (int i = 0; environ[i] != NULL; i++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 148301
: 66615