projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
lttvwindow
/
lttvwindow
/
gtkdirsel.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkdirsel.c
b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkdirsel.c
index a52e877db1c5fee86df556ad5f7b9f5e96a2a8a7..6a932ed098cdd29bd407682e00103756faa21fd2 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkdirsel.c
+++ b/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkdirsel.c
@@
-21,6
+21,7
@@
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <limits.h> // For PATH_MAX
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
@@
-416,7
+417,7
@@
translate_win32_path (GtkDirSelection *filesel)
{
int updated = 0;
const gchar *path;
{
int updated = 0;
const gchar *path;
- gchar newPath[
MAX_PATH
];
+ gchar newPath[
PATH_MAX
];
/*
* Retrieve the current path
/*
* Retrieve the current path
@@
-1916,7
+1917,7
@@
get_real_filename (gchar *filename,
/* Check to see if the selection was a drive selector */
if (isalpha (filename[0]) && (filename[1] == ':'))
{
/* Check to see if the selection was a drive selector */
if (isalpha (filename[0]) && (filename[1] == ':'))
{
- gchar temp_filename[
MAX_PATH
];
+ gchar temp_filename[
PATH_MAX
];
int len;
cygwin_conv_to_posix_path (filename, temp_filename);
int len;
cygwin_conv_to_posix_path (filename, temp_filename);
This page took
0.023046 seconds
and
4
git commands to generate.