home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / ms_sh23s.zip / Changes next >
Text File  |  1994-08-26  |  3KB  |  91 lines

  1. Shell Version 2.2    CHANGES                December 1993
  2.  
  3.  MS-DOS SHELL - Copyright (c) 1990,3 Data Logic Limited and Charles Forsyth
  4.  
  5.  This code is based on (in part) the shell program written by Charles
  6.  Forsyth and is subject to the following copyright restrictions:
  7.  
  8.  1.  Redistribution and use in source and binary forms are permitted
  9.      provided that the above copyright notice is duplicated in the
  10.      source form and the copyright notice in file sh6.c is displayed
  11.      on entry to the program.
  12.  
  13.  2.  The sources (or parts thereof) or objects generated from the
  14.      sources (or parts of sources) cannot be sold under any circumstances.
  15.  
  16.     $Header: /usr/users/istewart/shell/sh2.3/Release/RCS/Changes,v 2.2 1993/12/03 13:32:52 istewart Exp $
  17.  
  18.     $Log: Changes,v $
  19.     Revision 2.2  1993/12/03  13:32:52  istewart
  20.     Release 2.2
  21.  
  22.     Revision 2.1  1992/12/14  11:13:55  istewart
  23.     BETA 215 Fixes and 2.1 Release
  24.  
  25.     Revision 2.0  1992/04/13  17:40:33  Ian_Stewartson
  26.     MS-Shell 2.0 Baseline release
  27.  
  28.     
  29. ________________________________________________________________________________
  30.  
  31. We have standardised our MSDOS and Unix include files such that the same
  32. include file exists our Unix system and MSDOS systems.  This makes porting
  33. a lot easier.  If you don't want to edit the standard include files, you will
  34. have to generate an new include file for the shell and include it as the first
  35. include in all the C sources for the additional library functions and the
  36. Shell itself.
  37.  
  38. These are the changes to the Microsoft C 5.1 and 6.0 include files.
  39.  
  40. The files changed are:
  41.  
  42.     limits.h - add missing definitions
  43.     sys/stat.h - add missing definitions
  44.     sys/types.h - add missing definitions
  45.  
  46. 1.    limits.h
  47.  
  48. #ifdef OS2
  49. #define NAME_MAX    63        /* Maximum file name length    */
  50. #define PATH_MAX    256        /* Maximum path name length    */
  51. #else
  52. #define NAME_MAX    13        /* Maximum file name length    */
  53. #define PATH_MAX    128        /* Maximum path name length    */
  54. #endif
  55.  
  56. 2.    sys/stat.h
  57.  
  58. #define S_ISDIR(m)    ((((m) & S_IFMT) == S_IFDIR))
  59. #define S_ISCHR(m)    ((((m) & S_IFMT) == S_IFCHR))
  60. #define S_ISREG(m)    ((((m) & S_IFMT) == S_IFREG))
  61. #define S_ISBLK(m)    ((((m) & S_IFMT) == S_IFBLK))
  62.  
  63. extern mode_t _FAR_ _cdecl    umask (mode_t);
  64.  
  65. 3.    sys/types.h
  66.  
  67. /*
  68.  * Additional typedefs
  69.  */
  70.  
  71. typedef unsigned char    bool;    /* Boolean: 0 = false, 1 = true        */
  72. typedef unsigned short    ushort;    /* 2-byte unsigned            */
  73. typedef ushort        u_short;
  74. typedef ushort        mode_t;
  75. typedef short        nlink_t;
  76. typedef int        pid_t;
  77. typedef ushort        uid_t;
  78. typedef ushort        gid_t;
  79. typedef short        nlink_t;
  80.  
  81. /*
  82.  * System Constants
  83.  */
  84.  
  85. #ifndef FALSE
  86. #define FALSE    ((bool)0)    /* Boolean 'false'            */
  87. #endif
  88. #ifndef TRUE
  89. #define TRUE    ((bool)1)    /* Boolean 'true'            */
  90. #endif
  91.