You are not logged in.
Hello,
im new to Archlinux and i gotta say it ROX! xD
But
while setting up bundled 32bit system in 64bit Arch following this guide:
http://wiki.archlinux.org/index.php/Ins … _in_Arch64
i wanted to use the ccp-prog pasted there to give urls etc to 32bit Firefox
but i there is a little mistake in it:
#include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
int main(int argc, char **argv)
{
string temp="schroot -p firefox ";
if (argc>=2) temp+=+argv[1];
system(temp.c_str());
return 0;
}
if you use this the bash will interpret some parts of long urls and it wont work as it should.
In my opinion it should be
int main(int argc, char **argv)
{
string temp="schroot -p firefox \"";
string temp2="\"";
if (argc>=2) temp+=+argv[1];
temp+=temp2;
system(temp.c_str());
return 0;
}
so that the url etc stands between "".
Please tell me what u think about it, and if i am right how to edit the wiki entry .
Last edited by Bobtastic (2010-07-17 19:58:34)
Offline
To edit it, just make an account on the wiki, then click the edit button on the wiki page I think that's all you need to do. And I can't confirm whether or not that's right, but it looks right, and if it works for you, then it's probably right
Offline