🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #946

bash-1.12 vs. NeXTStep 3.0

#946
From: Thorsten Ohl
Date: Thu, 05 Nov 1992 12:13
37 lines
1607 bytes
In order to build bash-1.12 on the NeXT, I found the following trivial
patch necessary:

RCS file: /home/sources/gnu/bash/machines.h,v
retrieving revision 1.1
diff -c -7 -r1.1 machines.h
*** 1.1	1992/11/05 20:35:12
--- machines.h	1992/11/05 21:20:19
***************
*** 535,548 ****
--- 535,549 ----
  #if defined (NeXT)
  #define M_MACHINE "NeXT"
  #define M_OS Bsd
  #define HAVE_VFPRINTF
  #define HAVE_SYS_SIGLIST
  #define HAVE_GETGROUPS
  #define HAVE_STRERROR
+ #define HAVE_RESOURCE
  #define VOID_SIGHANDLER
  #undef USE_GNU_MALLOC
  #endif
  
  /* ************************ */
  /*			    */
  /*	hp9000 4.3 BSD	    */


Still, getwd(3) seems to be broken on the NeXT: sometimes it will
return a zero length string in the buffer.

`alias pwd=/bin/pwd' is an ugly workaround, has anybody tried to get a
patch from NeXT or else tried the getcwd() that comes with bash?

/// Thorsten Ohl, Physics Dept, Harvard University, Cambridge, MA 02138, USA
//////// net: ohl@physics.harvard.edu, ohl@crunch.ikp.physik.th-darmstadt.de
////////////////////////////// voice: +1-617-495-3219,  fax: +1-617-496-8396
Technical Details
Message-ID: <9211052213.AA05951@chico.harvard.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!olivea!charnel!rat!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!chico.harvard.edu!ohl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!olivea!charnel!rat!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!chico.harvard.edu!ohl
From: ohl@chico.harvard.edu (Thorsten Ohl)
Newsgroups: gnu.bash.bug
Subject: bash-1.12 vs. NeXTStep 3.0
Message-ID: <9211052213.AA05951@chico.harvard.edu>
Date: 5 Nov 92 12:13:11 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 37
Approved: bug-bash@prep.ai.mit.edu