home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update35.zoo / include / diffh next >
Encoding:
Text File  |  1993-11-17  |  13.1 KB  |  401 lines

  1. ===================================================================
  2. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/PatchLev.h,v
  3. retrieving revision 1.55
  4. diff -c -r1.55 PatchLev.h
  5. *** 1.55    1993/10/27 00:13:33
  6. --- PatchLev.h    1993/11/17 17:07:49
  7. ***************
  8. *** 1,5 ****
  9.   
  10. ! #define    PatchLevel "94"
  11.   
  12.   /*
  13.    *
  14. --- 1,5 ----
  15.   
  16. ! #define    PatchLevel "95"
  17.   
  18.   /*
  19.    *
  20. ===================================================================
  21. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/errno.h,v
  22. retrieving revision 1.16
  23. diff -c -r1.16 errno.h
  24. *** 1.16    1993/10/27 00:13:40
  25. --- errno.h    1993/11/05 01:59:34
  26. ***************
  27. *** 46,52 ****
  28.   #define EOTHER         EIDISK        /*    "    "   */
  29.                       /* (gap) */
  30.   #define    EINVAL         32        /* invalid function number */
  31. - #define    EOPNOTSUPP     EINVAL        /*    "       "        "   */
  32.   #define    ENOENT         33        /* file not found */
  33.   #define ESRCH         ENOENT        /* pid not found */
  34.   #define ECHILD         ENOENT        /* no children (wait/waipid) */
  35. --- 46,51 ----
  36. ***************
  37. *** 78,83 ****
  38. --- 77,83 ----
  39.   # define ELOOP         EMLINK
  40.   #define EPIPE         81        /* write to broken pipe */
  41.   # define EEXIST         85        /* file exists, try again later */
  42. + # define ENOTEMPTY     EEXIST
  43.   # define ENAMETOOLONG      86        /* name too long */
  44.   # define ENOTTY         87
  45.   # define ERANGE         88
  46. ***************
  47. *** 87,92 ****
  48. --- 87,132 ----
  49.   
  50.   #define EINTR            128        /* this *should* be fake */
  51.   
  52. + #ifdef __MINT__
  53. + /* Network error numbers -- only useful with Kay Roemer's socket library */
  54. + #define _NE_BASE 300
  55. + #define    ENOTSOCK    (_NE_BASE + 0)    /* Socket operation on non-socket */
  56. + #define    EDESTADDRREQ    (_NE_BASE + 1)    /* Destination address required */
  57. + #define    EMSGSIZE    (_NE_BASE + 2)    /* Message too long */
  58. + #define    EPROTOTYPE    (_NE_BASE + 3)    /* Protocol wrong type for socket */
  59. + #define    ENOPROTOOPT    (_NE_BASE + 4)    /* Protocol not available */
  60. + #define    EPROTONOSUPPORT    (_NE_BASE + 5)    /* Protocol not supported */
  61. + #define    ESOCKTNOSUPPORT    (_NE_BASE + 6)    /* Socket type not supported */
  62. + #define    EOPNOTSUPP    (_NE_BASE + 7)    /* Operation not supported */
  63. + #define    EPFNOSUPPORT    (_NE_BASE + 8)    /* Protocol family not supported */
  64. + #define    EAFNOSUPPORT    (_NE_BASE + 9)    /* Address family not supported by
  65. +                         protocol */
  66. + #define    EADDRINUSE    (_NE_BASE + 10)    /* Address already in use */
  67. + #define    EADDRNOTAVAIL    (_NE_BASE + 11)    /* Cannot assign requested address */
  68. + #define    ENETDOWN    (_NE_BASE + 12)    /* Network is down */
  69. + #define    ENETUNREACH    (_NE_BASE + 13)    /* Network is unreachable */
  70. + #define    ENETRESET    (_NE_BASE + 14)    /* Network dropped conn. because of
  71. +                         reset */
  72. + #define    ECONNABORTED    (_NE_BASE + 15)    /* Software caused connection abort */
  73. + #define    ECONNRESET    (_NE_BASE + 16)    /* Connection reset by peer */
  74. + #define    EISCONN        (_NE_BASE + 17)    /* Socket is already connected */
  75. + #define    ENOTCONN    (_NE_BASE + 18)    /* Socket is not connected */
  76. + #define    ESHUTDOWN    (_NE_BASE + 19)    /* Cannot send after shutdown */
  77. + #define    ETIMEDOUT    (_NE_BASE + 20)    /* Connection timed out */
  78. + #define    ECONNREFUSED    (_NE_BASE + 21)    /* Connection refused */
  79. + #define    EHOSTDOWN    (_NE_BASE + 22)    /* Host is down */
  80. + #define    EHOSTUNREACH    (_NE_BASE + 23)    /* No route to host */
  81. + #define    EALREADY    (_NE_BASE + 24)    /* Operation already in progress */
  82. + #define    EINPROGRESS    (_NE_BASE + 25)    /* Operation now in progress */
  83. + #define EWOULDBLOCK    (_NE_BASE + 26)    /* Operation would block */
  84. + #define _NE_MAX        EWOULDBLOCK
  85. + #endif
  86.   #ifndef AssemB
  87.   extern    int    errno;
  88.   extern    int    sys_nerr;
  89. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/math.h,v
  90. retrieving revision 1.18
  91. diff -c -r1.18 math.h
  92. *** 1.18    1993/10/27 00:13:48
  93. --- math.h    1993/11/08 00:13:43
  94. ***************
  95. *** 101,107 ****
  96.   extern const double _infinitydf;    /* in normdf.cpp */
  97.   
  98.   
  99. ! #if defined(_M68881) || defined(__M68881__)
  100.   #  include <math-68881.h>
  101.   #else
  102.   #  define HUGE_VAL  (_infinitydf)
  103. --- 101,113 ----
  104.   extern const double _infinitydf;    /* in normdf.cpp */
  105.   
  106.   
  107. ! #if defined(__GNUC_INLINE__) && (!defined(NO_INLINE_MATH)) && (defined(_M68881) || defined(__M68881__))
  108. ! #  define _INLINE_MATH 1
  109. ! #else
  110. ! #  define _INLINE_MATH 0
  111. ! #endif
  112. ! #if _INLINE_MATH
  113.   #  include <math-68881.h>
  114.   #else
  115.   #  define HUGE_VAL  (_infinitydf)
  116. ***************
  117. *** 118,157 ****
  118.   # endif
  119.   #endif
  120.   
  121. ! #if !(defined(_M68881) || defined(__M68881__))
  122. ! __EXTERN double    acos    __PROTO((double));
  123.   __EXTERN double asin    __PROTO((double));
  124.   __EXTERN double atan    __PROTO((double));
  125. ! __EXTERN double atanh    __PROTO((double));
  126. ! __EXTERN double cos    __PROTO((double));
  127.   __EXTERN double cosh    __PROTO((double));
  128. ! __EXTERN double fabs    __PROTO((double));
  129. ! __EXTERN double dabs    __PROTO((double));
  130.   __EXTERN double exp    __PROTO((double));
  131.   __EXTERN double log    __PROTO((double));
  132.   __EXTERN double log10    __PROTO((double));
  133. - __EXTERN double fmod    __PROTO((double, double));
  134. - __EXTERN double sin    __PROTO((double));
  135. - __EXTERN double sinh    __PROTO((double));
  136.   __EXTERN double sqrt    __PROTO((double));
  137.   __EXTERN double hypot   __PROTO((double, double));
  138. ! __EXTERN double tan    __PROTO((double));
  139. ! __EXTERN double tanh    __PROTO((double));
  140. ! __EXTERN double floor    __PROTO((double));
  141.   __EXTERN double ceil    __PROTO((double));
  142.   __EXTERN double rint    __PROTO((double));
  143.   
  144.   __EXTERN double acosh    __PROTO((double));
  145.   __EXTERN double asinh    __PROTO((double));
  146. - __EXTERN double atan2    __PROTO((double, double));
  147. - __EXTERN double pow    __PROTO((double, double));
  148. - #endif
  149.   
  150.   #ifndef __STRICT_ANSI__
  151.   
  152. ! #if defined(_M68881) || defined(__M68881__)
  153.   #  define dabs(x) fabs(x)
  154.   #endif
  155.   
  156.   __EXTERN double copysign    __PROTO((double, double));
  157. --- 124,167 ----
  158.   # endif
  159.   #endif
  160.   
  161. ! #if !_INLINE_MATH
  162. ! __EXTERN double sin    __PROTO((double));
  163. ! __EXTERN double cos    __PROTO((double));
  164. ! __EXTERN double tan    __PROTO((double));
  165.   __EXTERN double asin    __PROTO((double));
  166. + __EXTERN double    acos    __PROTO((double));
  167.   __EXTERN double atan    __PROTO((double));
  168. ! __EXTERN double atan2    __PROTO((double, double));
  169. ! __EXTERN double sinh    __PROTO((double));
  170.   __EXTERN double cosh    __PROTO((double));
  171. ! __EXTERN double tanh    __PROTO((double));
  172. ! __EXTERN double atanh    __PROTO((double));
  173.   __EXTERN double exp    __PROTO((double));
  174.   __EXTERN double log    __PROTO((double));
  175.   __EXTERN double log10    __PROTO((double));
  176.   __EXTERN double sqrt    __PROTO((double));
  177.   __EXTERN double hypot   __PROTO((double, double));
  178. ! __EXTERN double pow    __PROTO((double, double));
  179. ! __EXTERN double fabs    __PROTO((double));
  180.   __EXTERN double ceil    __PROTO((double));
  181. + __EXTERN double floor    __PROTO((double));
  182.   __EXTERN double rint    __PROTO((double));
  183. + __EXTERN double fmod    __PROTO((double, double));
  184. + __EXTERN double ldexp    __PROTO((double, int));
  185. + __EXTERN double frexp    __PROTO((double, int *));
  186. + __EXTERN double modf    __PROTO((double, double *));
  187. + #endif
  188.   
  189.   __EXTERN double acosh    __PROTO((double));
  190.   __EXTERN double asinh    __PROTO((double));
  191.   
  192.   #ifndef __STRICT_ANSI__
  193.   
  194. ! #if _INLINE_MATH
  195.   #  define dabs(x) fabs(x)
  196. + #else
  197. + __EXTERN double dabs    __PROTO((double));
  198.   #endif
  199.   
  200.   __EXTERN double copysign    __PROTO((double, double));
  201. ***************
  202. *** 186,197 ****
  203.   
  204.   #endif /* __STRICT_ANSI__ */
  205.   
  206. - #if !(defined(_M68881) || defined(__M68881__))
  207. - __EXTERN double modf    __PROTO((double, double *));
  208. - __EXTERN double ldexp    __PROTO((double, int));
  209. - __EXTERN double frexp    __PROTO((double, int *));
  210. - #endif /* !_M68881 */
  211.   #endif /* __TURBOC__ */
  212.   
  213.   #ifdef __cplusplus
  214. --- 196,201 ----
  215. ===================================================================
  216. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/osbind.h,v
  217. retrieving revision 1.34
  218. diff -c -r1.34 osbind.h
  219. *** 1.34    1993/09/15 18:05:33
  220. --- osbind.h    1993/11/05 01:59:35
  221. ***************
  222. *** 94,99 ****
  223. --- 94,108 ----
  224.    *    this with -fomit-frame-pointer was causing the temps (from evaluing
  225.    *    the args) to be created on the stack, but when we changed sp
  226.    *    from under gccs feet, the offsets  to the temps ended up being wrong.
  227. +  *
  228. +  * 10/28/93 ++jrb
  229. +  *    relax the constraints on the inputs of trap_14_wwwwwww (only
  230. +  *    Rsconf maps to this)  to "g" from "r", as these many "r" 's
  231. +  *    give gcc 2.>3.X heartaches (understandably). note this is ok
  232. +  *    since these args will never be expressions, and we never
  233. +  *    have to constrain hard enough to force eval before we change
  234. +  *    sp from underneath gcc.
  235. +  *
  236.    */
  237.   
  238.   #ifndef _OSBIND_H
  239. ***************
  240. *** 115,123 ****
  241.   
  242.   /* we supply a library of bindings for TurboC / PureC */
  243.   
  244. ! long    gemdos( void, ... );
  245. ! long    bios( void, ... );
  246. ! long    xbios( void, ... );
  247.   
  248.   /* Gemdos prototypes */
  249.   
  250. --- 124,132 ----
  251.   
  252.   /* we supply a library of bindings for TurboC / PureC */
  253.   
  254. ! long    gemdos( short, ... );
  255. ! long    bios( short, ... );
  256. ! long    xbios( short, ... );
  257.   
  258.   /* Gemdos prototypes */
  259.   
  260. ***************
  261. *** 1372,1379 ****
  262.           trap    #14;    \
  263.           lea    sp@(14),sp "                    \
  264.       : "=r"(retvalue)            /* outputs */        \
  265. !     : "g"(n), "r"(_a),                        \
  266. !       "r"(_b), "r"(_c), "r"(_d), "r"(_e), "r"(_f)    /* inputs  */    \
  267.       : "d0", "d1", "d2", "a0", "a1", "a2", "memory"            \
  268.       );                                \
  269.       retvalue;                            \
  270. --- 1381,1388 ----
  271.           trap    #14;    \
  272.           lea    sp@(14),sp "                    \
  273.       : "=r"(retvalue)            /* outputs */        \
  274. !     : "g"(n), "g"(_a),                        \
  275. !       "g"(_b), "g"(_c), "g"(_d), "g"(_e), "g"(_f)    /* inputs  */    \
  276.       : "d0", "d1", "d2", "a0", "a1", "a2", "memory"            \
  277.       );                                \
  278.       retvalue;                            \
  279. ===================================================================
  280. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/support.h,v
  281. retrieving revision 1.19
  282. diff -c -r1.19 support.h
  283. *** 1.19    1993/10/27 00:14:15
  284. --- support.h    1993/10/27 22:51:04
  285. ***************
  286. *** 57,64 ****
  287.   __EXTERN long get_sysvar __PROTO((void *var));
  288.   __EXTERN void set_sysvar_to_long __PROTO((void *var, long val));
  289.   
  290. ! __EXTERN void __exit __PROTO((long status));
  291. ! __EXTERN void _exit __PROTO((int status));
  292.   
  293.   __EXTERN int _fork __PROTO((char *save_to));
  294.   __EXTERN int _wait __PROTO((int *exit_code));
  295. --- 57,64 ----
  296.   __EXTERN long get_sysvar __PROTO((void *var));
  297.   __EXTERN void set_sysvar_to_long __PROTO((void *var, long val));
  298.   
  299. ! __EXTERN __EXITING    __exit    __PROTO((long status));
  300. ! __EXTERN __EXITING _exit    __PROTO((int));
  301.   
  302.   __EXTERN int _fork __PROTO((char *save_to));
  303.   __EXTERN int _wait __PROTO((int *exit_code));
  304. ===================================================================
  305. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/time.h,v
  306. retrieving revision 1.18
  307. diff -c -r1.18 time.h
  308. *** 1.18    1993/07/13 17:13:21
  309. --- time.h    1993/10/27 22:51:06
  310. ***************
  311. *** 73,84 ****
  312.   /* violation of ANSI standard, but POSIX wants it... sigh */
  313.   __EXTERN void        tzset    __PROTO((void));
  314.   
  315. ! #ifndef __STRICT_ANSI__
  316.   __EXTERN clock_t    _clock     __PROTO((void));
  317.   __EXTERN int    gettimeofday __PROTO((struct timeval *, struct timezone *));
  318.   __EXTERN int    settimeofday __PROTO((struct timeval *, struct timezone *));
  319.   
  320. ! __EXTERN int    select    __PROTO((int, long *, long *, long *,
  321.                       struct timeval *));
  322.   
  323.   #define timercmp(tva, tvb, op) \
  324. --- 73,89 ----
  325.   /* violation of ANSI standard, but POSIX wants it... sigh */
  326.   __EXTERN void        tzset    __PROTO((void));
  327.   
  328. ! #if !defined(__STRICT_ANSI__) && !defined(_POSIX_SOURCE)
  329.   __EXTERN clock_t    _clock     __PROTO((void));
  330.   __EXTERN int    gettimeofday __PROTO((struct timeval *, struct timezone *));
  331.   __EXTERN int    settimeofday __PROTO((struct timeval *, struct timezone *));
  332.   
  333. ! #ifndef _FD_SET_T
  334. ! #define _FD_SET_T unsigned long
  335. ! typedef _FD_SET_T fd_set;
  336. ! #endif
  337. ! __EXTERN int    select    __PROTO((int, fd_set *, fd_set *, fd_set *,
  338.                       struct timeval *));
  339.   
  340.   #define timercmp(tva, tvb, op) \
  341. ===================================================================
  342. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/types.h,v
  343. retrieving revision 1.17
  344. diff -c -r1.17 types.h
  345. *** 1.17    1993/10/27 00:14:17
  346. --- types.h    1993/10/27 22:51:08
  347. ***************
  348. *** 40,46 ****
  349.   #define minor(dev)    ((dev) & 0x00ff)
  350.   #define makedev(x,y)    ((dev_t) ((((x) & 0xff) << 8) | ((y) & 0xff)))
  351.   
  352. ! typedef unsigned long fd_set;
  353.   
  354.   #define FD_ZERO(set)        (*(set) = 0L)
  355.   #define FD_CLR(fd, set)        (*(set) &= ~(1L << (fd)))
  356. --- 40,49 ----
  357.   #define minor(dev)    ((dev) & 0x00ff)
  358.   #define makedev(x,y)    ((dev_t) ((((x) & 0xff) << 8) | ((y) & 0xff)))
  359.   
  360. ! #ifndef _FD_SET_T
  361. ! #define _FD_SET_T unsigned long
  362. ! typedef _FD_SET_T fd_set;
  363. ! #endif
  364.   
  365.   #define FD_ZERO(set)        (*(set) = 0L)
  366.   #define FD_CLR(fd, set)        (*(set) &= ~(1L << (fd)))
  367. ===================================================================
  368. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/wait.h,v
  369. retrieving revision 1.7
  370. diff -c -r1.7 wait.h
  371. *** 1.7    1993/10/27 00:14:23
  372. --- wait.h    1993/10/27 22:51:11
  373. ***************
  374. *** 40,46 ****
  375.   typedef union wait __union_wait_t;
  376.   
  377.   /* Allow W* to get parameter in POSIX-Style (int) or BSD-Style (union wait)*/
  378. ! #ifdef __GNUC__
  379.   #define __W(x)  ({union{typeof(x) __in; __union_wait_t __out;}__wu; \
  380.           __wu.__in=(x); __wu.__out; })
  381.   #define __WP    union __waitp        
  382. --- 40,46 ----
  383.   typedef union wait __union_wait_t;
  384.   
  385.   /* Allow W* to get parameter in POSIX-Style (int) or BSD-Style (union wait)*/
  386. ! #ifdef _EXPERIMENTAL_WAIT_MACROS
  387.   #define __W(x)  ({union{typeof(x) __in; __union_wait_t __out;}__wu; \
  388.           __wu.__in=(x); __wu.__out; })
  389.   #define __WP    union __waitp        
  390.