diff --git a/hdr/version.h b/hdr/version.h index edc6f08..19f8b28 100644 --- a/hdr/version.h +++ b/hdr/version.h @@ -44,6 +44,6 @@ static BYTE *date_hRcsId = "$Id$"; #define REVISION_MINOR 1 #define REVISION_SEQ 25 #define BUILD "2025" -#define SUB_BUILD "test" +#define SUB_BUILD "" #define KERNEL_VERSION_STRING "1.1.25" /*#REVISION_MAJOR "." #REVISION_MINOR "." #REVISION_SEQ*/ -#define KERNEL_BUILD_STRING "2025test" /*#BUILD SUB_BUILD*/ +#define KERNEL_BUILD_STRING "2025" /*#BUILD SUB_BUILD*/ diff --git a/kernel/dosfns.c b/kernel/dosfns.c index 5de3873..b51c030 100644 --- a/kernel/dosfns.c +++ b/kernel/dosfns.c @@ -37,8 +37,8 @@ static BYTE *dosfnsRcsId = "$Id$"; * /// Added SHARE support. 2000/09/04 Ron Cemer * * $Log$ - * Revision 1.27 2001/09/24 02:21:14 bartoldeman - * SYS and printer fixes + * Revision 1.28 2001/09/26 01:06:05 bartoldeman + * Change dir gives error for path too long, 2025 without test. * * Revision 1.26 2001/09/23 20:39:44 bartoldeman * FAT32 support, misc fixes, INT2F/AH=12 support, drive B: handling @@ -1326,6 +1326,9 @@ COUNT DosChangeDir(BYTE FAR * s) cdsp = &CDSp->cds_table[drive]; current_ldt = cdsp; + if (strlen(PriPathName) > sizeof(cdsp->cdsCurrentPath)-1) + return DE_PATHNOTFND; + if (cdsp->cdsFlags & CDSNETWDRV) { #if defined(CHDIR_DEBUG)