View | Details | Raw Unified
Collapse All | Expand All

(-) ../xfractint-20.04p07-orig/dos_help/hc.c (-2 / +2 lines)
 Lines 72-79    Link Here 
#   include <dir.h>
#   include <dir.h>
#   define FNSPLIT fnsplit
#   define FNSPLIT fnsplit
#else
#else
#   define MAXFILE _MAX_FNAME
#   define MAXFILE FILE_MAX_FNAME
#   define MAXEXT  _MAX_EXT
#   define MAXEXT  FILE_MAX_EXT
#   define FNSPLIT _splitpath
#   define FNSPLIT _splitpath
#endif
#endif
(-) ../xfractint-20.04p07-orig/headers/fractint.h (-25 lines)
 Lines 47-77    Link Here 
#define RESTORESTART      3
#define RESTORESTART      3
#define CONTINUE          4
#define CONTINUE          4
/* these are used to declare arrays for file names */
#ifdef XFRACT
#define FILE_MAX_PATH  256       /* max length of path+filename  */
#define FILE_MAX_DIR   256       /* max length of directory name */
#else
#define FILE_MAX_PATH  80       /* max length of path+filename  */
#define FILE_MAX_DIR   80       /* max length of directory name */
#endif
#define FILE_MAX_DRIVE  3       /* max length of drive letter   */
#if 1
#define FILE_MAX_FNAME  9       /* max length of filename       */
#define FILE_MAX_EXT    5       /* max length of extension      */
#else
/*
The filename limits were increased in Xfract 3.02. But alas,
in this poor program that was originally developed on the
nearly-brain-dead DOS operating system, quite a few things
in the UI would break if file names were bigger than DOS 8-3
names. So for now humor us and let's keep the names short.
*/
#define FILE_MAX_FNAME  64       /* max length of filename       */
#define FILE_MAX_EXT    64       /* max length of extension      */
#endif
#define MAXMAXLINELENGTH  128   /* upper limit for maxlinelength for PARs */
#define MAXMAXLINELENGTH  128   /* upper limit for maxlinelength for PARs */
#define MINMAXLINELENGTH  40    /* lower limit for maxlinelength for PARs */
#define MINMAXLINELENGTH  40    /* lower limit for maxlinelength for PARs */
(-) ../xfractint-20.04p07-orig/headers/port.h (+30 lines)
 Lines 260-265    Link Here 
#endif
#endif
#endif
#endif
/* The following FILE_* #defines were moved here from fractint.h to
 * avoid inconsistent declarations in dos_help/hc.c and unix/unix.c. */
/* these are used to declare arrays for file names */
#ifdef XFRACT
#define FILE_MAX_PATH  256       /* max length of path+filename  */
#define FILE_MAX_DIR   256       /* max length of directory name */
#else
#define FILE_MAX_PATH  80       /* max length of path+filename  */
#define FILE_MAX_DIR   80       /* max length of directory name */
#endif
#define FILE_MAX_DRIVE  3       /* max length of drive letter   */
#if 1
#define FILE_MAX_FNAME  9       /* max length of filename       */
#define FILE_MAX_EXT    5       /* max length of extension      */
#else
/*
The filename limits were increased in Xfract 3.02. But alas,
in this poor program that was originally developed on the
nearly-brain-dead DOS operating system, quite a few things
in the UI would break if file names were bigger than DOS 8-3
names. So for now humor us and let's keep the names short.
*/
#define FILE_MAX_FNAME  64       /* max length of filename       */
#define FILE_MAX_EXT    64       /* max length of extension      */
#endif
/* Uses big_access32(), big_set32(),... functions instead of macros. */
/* Uses big_access32(), big_set32(),... functions instead of macros. */
/* Some little endian machines may require this as well. */
/* Some little endian machines may require this as well. */
#if BYTE_ORDER == BIG_ENDIAN
#if BYTE_ORDER == BIG_ENDIAN
(-) ../xfractint-20.04p07-orig/headers/unix.h (-2 lines)
 Lines 28-35    Link Here 
#define max(a,b) ((a)>(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#define min(a,b) ((a)<(b)?(a):(b))
#define min(a,b) ((a)<(b)?(a):(b))
#define remove(x) unlink(x)
#define remove(x) unlink(x)
#define _MAX_FNAME 20
#define _MAX_EXT 4
#define chsize(fd,len) ftruncate(fd,len)
#define chsize(fd,len) ftruncate(fd,len)
#define inp(x) 0
#define inp(x) 0
(-) ../xfractint-20.04p07-orig/unix/unix.c (-6 lines)
 Lines 15-26    Link Here 
#include <ctype.h>
#include <ctype.h>
#include "port.h"
#include "port.h"
#define FILE_MAX_PATH  256       /* max length of path+filename  */
#define FILE_MAX_DIR   256       /* max length of directory name */
#define FILE_MAX_DRIVE  3       /* max length of drive letter   */
#define FILE_MAX_FNAME  9       /* max length of filename       */
#define FILE_MAX_EXT    5       /* max length of extension      */
int iocount;
int iocount;
/*
/*