openbsd-ports/editors/glimmer/patches/patch-src_main_c
2003-06-17 14:06:41 +00:00

22 lines
653 B
Plaintext

$OpenBSD: patch-src_main_c,v 1.1 2003/06/17 14:06:42 avsm Exp $
--- src/main.c.orig Tue Jun 17 01:53:17 2003
+++ src/main.c Tue Jun 17 01:54:18 2003
@@ -342,7 +342,7 @@ main_finish (void *closure, int argc, ch
gchar *path;
gchar *file;
gchar *full;
- gchar cwd[256];
+ gchar cwd[MAXPATHLEN];
args = (gchar **) poptGetArgs (pctx);
@@ -381,7 +381,7 @@ main_finish (void *closure, int argc, ch
}
}
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);