Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 676920 | Differences between
and this patch

Collapse All | Expand All

(-)a/tools/src/libtabfile.cpp (-3 / +4 lines)
Lines 22-27 Link Here
22
#include <cstring>
22
#include <cstring>
23
#include <cstdlib>
23
#include <cstdlib>
24
#include <string>
24
#include <string>
25
#include <sstream>
25
#include <glib/gstdio.h>
26
#include <glib/gstdio.h>
26
#include <glib.h>
27
#include <glib.h>
27
28
Lines 228-236 static bool write_dictionary(const char *filename, GArray *array) Link Here
228
	g_message("%s wordcount: %d.", get_impl(basefilename), array->len);
229
	g_message("%s wordcount: %d.", get_impl(basefilename), array->len);
229
230
230
#ifndef _WIN32
231
#ifndef _WIN32
231
	std::string command(std::string("dictzip ") + dicfilename);
232
	std::stringstream command;
233
	command << "dictzip \"" << dicfilename << "\"";
232
	int result;
234
	int result;
233
	result = system(command.c_str());
235
	result = system(command.str().c_str());
234
	if (result == -1) {
236
	if (result == -1) {
235
		g_print("system() error!\n");
237
		g_print("system() error!\n");
236
	}
238
	}
237
- 

Return to bug 676920