home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari FTP
/
ATARI_FTP_0693.zip
/
ATARI_FTP_0693
/
Mint
/
Editors
/
mntemcsb.zoo
/
emacs-18.57
/
patches
next >
Wrap
Text File
|
1992-06-04
|
1KB
|
45 lines
diff -c orig/fileio.c src/fileio.c
*** orig/fileio.c Mon Jun 1 21:34:18 1992
--- src/fileio.c Mon Jun 1 21:46:34 1992
***************
*** 2104,2110 ****
--- 2104,2117 ----
{
/* If the file doesn't exist now and didn't exist before,
we say that it isn't modified, provided the error is a tame one. */
+ /**
+ ** (jjk++) ### FIX THIS: MiNT lib PL 20 doesn't have ENOTDIR
+ **/
+ #ifdef atarist
+ if (errno == ENOENT || errno == EACCES)
+ #else
if (errno == ENOENT || errno == EACCES || errno == ENOTDIR)
+ #endif
st.st_mtime = -1;
else
st.st_mtime = 0;
***************
*** 2360,2367 ****
** (sjk)++
**/
#ifdef atarist
! _dos2unx(homedir,unxdir);
! homedir = unxdir;
#endif
if (homedir != 0
--- 2367,2379 ----
** (sjk)++
**/
#ifdef atarist
! if (!homedir)
! homedir = "\001"; /* no file name should start with this */
! else
! {
! _dos2unx(homedir,unxdir);
! homedir = unxdir;
! }
#endif
if (homedir != 0