Only in d:/source.c/gnu/indent-1.6/: .ema diff -u -r indent-1.6//backup.c d:/source.c/gnu/indent-1.6//backup.c --- indent-1.6//backup.c Thu Aug 6 14:41:18 1992 +++ d:/source.c/gnu/indent-1.6//backup.c Tue Aug 11 21:40:18 1992 @@ -108,11 +108,29 @@ simple_backup_name (pathname) char *pathname; { +#ifdef atarist + extern char *strrchr(); + char *backup_name, *ptr; + + backup_name = xmalloc (strlen (pathname) + + strlen (simple_backup_suffix) + 2); + sprintf (backup_name, "%s%s", pathname, simple_backup_suffix); + if ((ptr = strrchr (backup_name, '.')) != NULL) + { + ptr++; + if (strlen (ptr) > 3) + { + *(ptr + 2) = *simple_backup_suffix; + *(ptr + 3) = '\0'; + } + } +#else char *backup_name; backup_name = xmalloc (strlen (pathname) + strlen (simple_backup_suffix) + 2); sprintf (backup_name, "%s%s", pathname, simple_backup_suffix); +#endif return backup_name; } Only in d:/source.c/gnu/indent-1.6/: compile.err Binary files indent-1.6//indent.inf and d:/source.c/gnu/indent-1.6//indent.inf differ Only in d:/source.c/gnu/indent-1.6/: indent.ttp diff -u -r indent-1.6//io.c d:/source.c/gnu/indent-1.6//io.c --- indent-1.6//io.c Mon Aug 17 12:09:16 1992 +++ d:/source.c/gnu/indent-1.6//io.c Tue Aug 25 13:03:56 1992 @@ -450,7 +450,11 @@ fileptr.size = file_stats.st_size; fileptr.data = (char *) xmalloc (file_stats.st_size + 1); +#ifdef atarist + if ((fileptr.size = _text_read (fd, fileptr.data, fileptr.size)) < 0) +#else if (read (fd, fileptr.data, fileptr.size) < 0) +#endif sys_error (filename); if (close (fd) < 0) @@ -493,6 +497,11 @@ while (stdinptr.size < size) { ch = getc (stdin); +#ifdef atarist + /* Discard character on input */ + if (ch == '\r') + continue; +#endif if (ch == EOF) break; Only in d:/source.c/gnu/indent-1.6/: makefile.st Only in d:/source.c/gnu/indent-1.6/: readme.st Only in d:/source.c/gnu/indent-1.6/: tags diff -u -r indent-1.6//version.h d:/source.c/gnu/indent-1.6//version.h --- indent-1.6//version.h Fri Aug 14 11:52:22 1992 +++ d:/source.c/gnu/indent-1.6//version.h Tue Aug 25 13:11:50 1992 @@ -8,4 +8,8 @@ version is sufficiently different to simply call it GNU indent. jla 11/91 */ +#ifdef atarist +#define VERSION_STRING "GNU indent 1.6 atariST version" +#else #define VERSION_STRING "GNU indent 1.6" +#endif Only in indent-1.6/: zmakefil