mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
s/MAX_PATH/PATH_MAX/.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9430 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
52aae6114c
commit
717ad4b983
@ -1,3 +1,7 @@
|
||||
2005-01-05 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* os_win32.C (external_path, internal_path): s/MAX_PATH/PATH_MAX/.
|
||||
|
||||
2005-01-04 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* os_win32.C (current_root): use _getdrive on Win32.
|
||||
|
@ -132,7 +132,7 @@ string external_path(string const & p)
|
||||
#if defined(__CYGWIN__) || defined(__CYGWIN32__)
|
||||
// Translate from cygwin path syntax to dos path syntax
|
||||
if (is_absolute_path(p)) {
|
||||
char dp[MAX_PATH];
|
||||
char dp[PATH_MAX];
|
||||
cygwin_conv_to_full_win32_path(p.c_str(), dp);
|
||||
dos_path = !dp ? "" : dp;
|
||||
}
|
||||
@ -160,7 +160,7 @@ string external_path(string const & p)
|
||||
string internal_path(string const & p)
|
||||
{
|
||||
#if defined(__CYGWIN__) || defined(__CYGWIN32__)
|
||||
char posix_path[MAX_PATH];
|
||||
char posix_path[PATH_MAX];
|
||||
posix_path[0] = '\0';
|
||||
cygwin_conv_to_posix_path(p.c_str(), posix_path);
|
||||
return posix_path;
|
||||
|
Loading…
Reference in New Issue
Block a user