delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/08/04:21:09

Message-ID: <B0FEA00E82A7D1118BFB00A0CC9902782131FA@ARGON>
From: Michel de Ruiter <Michel AT smr DOT nl>
To: "'DJGPP workers'" <djgpp-workers AT delorie DOT com>
Subject: Two bugs in djlsr202 (3?)
Date: Mon, 8 Mar 1999 10:21:34 +0100
X-Mailer: Internet Mail Service (5.5.2448.0)
Reply-To: djgpp-workers AT delorie DOT com

Hi, workers,

Following, two bugs found in libc. I think the second, combined with the
change of behaviour of system(NULL), is the reason that C-z doesn't work any
more in Less.

*** src\libc\dos\process\dosexec.txh.orig	Sat Nov  7 12:57:34 1998
--- src\libc\dos\process\dosexec.txh	Sat Mar  6 19:58:32 1999
***************
*** 22,28 ****
  functions will look for a file @var{path} with the extensions
  @file{.com}, @file{.exe}, @file{.bat}, @file{.btm}, @file{.sh},
  @file{.ksh}, @file{.pl} and @file{.sed}; if none is found, neither in
! the current directly nor along the @samp{PATH}, they will look for
  @var{path} itself.
  
  @file{.com}
--- 22,28 ----
  functions will look for a file @var{path} with the extensions
  @file{.com}, @file{.exe}, @file{.bat}, @file{.btm}, @file{.sh},
  @file{.ksh}, @file{.pl} and @file{.sed}; if none is found, neither in
! the current directory nor along the @samp{PATH}, they will look for
  @var{path} itself.
  
  @file{.com}
*** src/libc/posix/termios/tminit.c~	Sun Sep 15 17:02:18 1996
--- src/libc/posix/termios/tminit.c	Sat Mar  6 16:56:12 1999
***************
*** 915,921 ****
  		    __direct_outputs ("\r\nSuspended\r\n");
  		    /* keep cwd on exec */
  		    getcwd (oldcwd, sizeof (oldcwd));
! 		    system (NULL);
  		    chdir (oldcwd);
  
  		    for (i = 0; i < 5; i++)
--- 915,921 ----
  		    __direct_outputs ("\r\nSuspended\r\n");
  		    /* keep cwd on exec */
  		    getcwd (oldcwd, sizeof (oldcwd));
! 		    system ("");
  		    chdir (oldcwd);
  
  		    for (i = 0; i < 5; i++)

While searching through the ANSI C9x specs, I encountered the following
"standard" include files. Are there any plans to incorporate them in DJGPP?

complex.h
fenv.h
inttypes.h
iso646.h
stdbool.h
tgmath.h

Following files can be deleted from djlsr202.zip to conserve space, as they
are rebuilt during `make' anyway:

.../makefile.oi
.../makefile.sub
src/libc/stubs/stub*.S
src/libm/math/targetdep.texi
src/stub/stub.map

PS. I noticed that `gzip -n' still puts the filename in the gzipped file,
under pure DOS (no LFNs) only. Can anyone confirm this?

--
*Groeten, Michel* _http://www.cs.vu.nl/~mdruiter_
   ____________          mdruiter AT cs DOT vu DOT nl
   \  /====\  /   "You know, Beavis, you need things that suck,
    \/      \/     to have things that are cool", Butt-Head.

- Raw text -


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