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
|
--- src/main.c.orig Thu Jan 10 12:37:37 2002
+++ src/main.c Sat Jun 28 12:38:50 2003
@@ -15,6 +15,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <sys/param.h>
#include <sys/wait.h>
#include "declarations.h"
@@ -342,7 +343,7 @@
gchar *path;
gchar *file;
gchar *full;
- gchar cwd[256];
+ gchar cwd[MAXPATHLEN];
args = (gchar **) poptGetArgs (pctx);
@@ -381,7 +382,7 @@
}
}
if (input_file) {
- gchar *path, *file, *full, cwd[256];
+ gchar *path, *file, *full, cwd[MAXPATHLEN];
getcwd (cwd, sizeof (cwd));
path = get_path_from_filename (input_file);
|