delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/02/01/16:51:00

Date: Sun, 1 Feb 1998 20:59:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Additions to What's changed
Message-ID: <Pine.SUN.3.91.980201205815.16669H-100000@is>
MIME-Version: 1.0

*** src/docs/kb/wc202.t~0	Fri Jan  2 06:07:24 1998
--- src/docs/kb/wc202.txi	Sat Jan 31 14:47:08 1998
***************
*** 212,220 ****
  New function @code{stackavail()} in @file{stdlib.h}
  @findex stackavail
  
! @file{split} and @file{merge} are now called @file{djsplit} and
! @file{djmerge} to avoid clashes with GNU's @file{split} and @file{merge}
! programs.
  @pindex split
  @pindex merge
  
--- 212,221 ----
  New function @code{stackavail()} in @file{stdlib.h}
  @findex stackavail
  
! @file{echo}, @file{split} and @file{merge} are now called @file{djecho},
! @file{djsplit} and @file{djmerge} to avoid clashes with GNU's
! @file{echo}, @file{split} and @file{merge} programs.
! @pindex echo
  @pindex split
  @pindex merge
  
***************
*** 228,245 ****
  @findex _v2_prog_type
  @findex symlink
  
! @code{fread} and @code{fwrite} are documented as returning "less" rather
! than "-1" on error, since they never return engative values.
  @code{fread}
  @code{fwrite}
  
! @code{stub} forces a free file descriptor of > 19 files open
  @findex stub
  
! Minor fixes to @code{popen}'s list of pending commands
  @findex popen
  
! @code{tempnam} returns allocated memory, not a pointer to static space.
  @findex tempnam
  
  @code{difftime} can return negative numbers now.
--- 229,250 ----
  @findex _v2_prog_type
  @findex symlink
  
! @code{fread} and @code{fwrite} are documented as returning less than the
! requested size, rather than -1 on error, since they never return
! negative values.
  @code{fread}
  @code{fwrite}
  
! @code{stub} forcefully closes file descriptors 18 and 19, so that the
! stub and the DPMI server have enough handles to open the swap file and
! read the COFF information of the DJGPP executable.
  @findex stub
  
! Minor fixes to @code{popen}'s list of pending commands.
  @findex popen
  
! @code{tempnam} returns allocated memory, not a pointer to static space,
! and does not ignore its arguments @var{tmpdir} and @var{prefix} anymore.
  @findex tempnam
  
  @code{difftime} can return negative numbers now.
***************
*** 251,269 ****
  @code{insque} works with empty lists now.
  @findex insque
  
! @code{sync} also calls _flush_disk_cache().
  @findex sync
  @findex _flush_disk_cache
  
! @code{printf} flushes stdout every time, to reduce programmer confusion.
! Note that fprintf and vprintf don't do this.
  @findex printf
  
  @code{exit} calls destructors *before* it closes all open files.
  @findex exit
  
! The code that reads blocks of data for FILE* streams has a new "slow
! start" algorithm that's designed to adjust the read size for both
  programs that seek a lot reading small amounts of data, and programs
  that don't seek but read lots of data.
  
--- 256,275 ----
  @code{insque} works with empty lists now.
  @findex insque
  
! @code{sync} also calls @code{_flush_disk_cache()}.
  @findex sync
  @findex _flush_disk_cache
  
! @code{printf} flushes stdout every time, unless it is redirected to a
! file, to reduce programmer confusion.  Note that @code{fprintf} and
! @code{vprintf} don't do this.
  @findex printf
  
  @code{exit} calls destructors *before* it closes all open files.
  @findex exit
  
! The code that reads blocks of data for FILE* streams has a new ``slow
! start'' algorithm that's designed to adjust the read size for both
  programs that seek a lot reading small amounts of data, and programs
  that don't seek but read lots of data.
  
***************
*** 274,281 ****
  @findex enable
  @findex disable
  
! The command line parser can handle response files generated by "find -print0"
  
  @code{malloc} and @code{free} have been replaced by a more efficient
! (and not BSD) algorithm.  The source archive still contains bsdmallo.c
! and a new even faster (but more wasteful) version in fmalloc.c
--- 280,322 ----
  @findex enable
  @findex disable
  
! The command line parser can handle response files generated by
! @samp{find -print0}.
  
  @code{malloc} and @code{free} have been replaced by a more efficient
! (and not BSD) algorithm.  The source archive still contains
! @file{bsdmallo.c} and a new even faster (but more wasteful) version in
! @file{fmalloc.c}.
! @findex malloc
! @findex free
! 
! @code{getmntent} better supports Windows NT and doesn't cause DOS to
! return stale data when the disk is changed.  Removable media such as JAZ
! drives are no longer reported when the drive is empty.
! @findex getmntent
! 
! File names which begin with @file{/dev/} or @file{x:/dev/} (where
! @file{x:} is any drive letter) are treated specially by all
! file-oriented library functions.  @file{/dev/tty} is converted to
! @file{con} and @file{/dev/null} is converted to @file{nul}, to make
! porting of Unix programs easier.  Other names get the drive letter and
! the @file{/dev/} prefix removed, so e.g. @file{d:/dev/lpt1} is converted
! to @file{lpt1}.  This is because DOS handles device names inconsistently
! unless they are devoid of the @file{x:/dev/} prefix.  File names of the
! form @file{/dev/x/foo} are converted to @file{x:/foo}; this allows to
! use Unix-style path names which always begin with a forward slash.
! 
! The startup code now masks @strong{all} numeric exceptions when a
! floating-point hardware is present.  This means that illegal operations
! like @code{sqrt(-1)} will now return @code{NaN} (Not-a-number) rather
! than raise the @code{SIGFPE} signal.
! 
! @code{fstat} is now more reliable when called from programs under a
! debugger, does not report bogus results on NT, reports files on the A:
! drive correctly, and correctly reports the write access bit on
! Windows9X.
! @findex fstat
! 
! @code{stat} is now more reliable on NT and with character devices.
! @findex stat
! 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019