1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
$NetBSD: patch-ac,v 1.7 2006/05/29 06:41:38 adam Exp $
--- src/fax_list.cpp.orig 2006-03-06 23:33:40.000000000 +0100
+++ src/fax_list.cpp
@@ -607,7 +607,7 @@ std::pair<const char*, char* const*> Fax
// thread while we are accessing it here
Thread::Mutex::Lock lock(*prog_config.mutex_p);
- efix_parms.push_back("efix-0.9a");
+ efix_parms.push_back("efix");
// shut up efix (comment out next line and uncomment following one if errors to be reported)
efix_parms.push_back("-v");
//efix_parms.push_back("-ve");
@@ -754,8 +754,8 @@ std::pair<const char*, char* const*> Fax
*temp_pp = 0;
- char* prog_name = new char[std::strlen("efix-0.9a") + 1];
- std::strcpy(prog_name, "efix-0.9a");
+ char* prog_name = new char[std::strlen("efix") + 1];
+ std::strcpy(prog_name, "efix");
return std::pair<const char*, char* const*>(prog_name, exec_parms);
}
@@ -964,7 +964,7 @@ void FaxListDialog::print_fax_thread(voi
// if we reached this point, then the execvp() call must have failed
// report error and then end process - use _exit(), not exit()
- write_error("Can't find the efix-0.9a program - please check your installation\n"
+ write_error("Can't find the efix program - please check your installation\n"
"and the PATH environmental variable\n");
_exit(0);
}
@@ -1075,7 +1075,7 @@ void FaxListDialog::view_fax_thread(void
// if we reached this point, then the execvp() call must have failed
// report error and then end process - use _exit(), not exit()
- write_error("Can't find the efix-0.9a program - please check your installation\n"
+ write_error("Can't find the efix program - please check your installation\n"
"and the PATH environmental variable\n");
_exit(0);
}
|