home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / bash / bug / 759 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.5 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!csee.lehigh.EDU!wbader
  2. From: wbader@csee.lehigh.EDU (wbader)
  3. Newsgroups: gnu.bash.bug
  4. Subject: bash and sco unix 3.2v4.0
  5. Date: 25 Jan 1993 21:27:28 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 45
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-bash@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301260117.AA04335@pluto.csee.lehigh.edu>
  12.  
  13. Changes to build bash-1.12 under SCO Unix 3.2v4.0:
  14.  
  15. In the M_UNIX section of machines.h:
  16.  
  17. #    if !defined (HAVE_GCC)
  18. #      define REQUIRED_LIBRARIES -lPW -lmalloc -lc_s
  19. #    endif /* !HAVE_GCC */
  20.  
  21. SCO Unix has alloca() in -lPW.
  22. malloc pulls in a faster malloc than the one in -lc
  23. -lc_s uses a shared library version of the c runtimes
  24.  
  25. jobs.c:
  26.  
  27. The ' #if defined (SCO) ' sections make bash hang on the call to waitpid.
  28. I removed the SCO conditional code, and bash no longer hangs.
  29. Apparently, SCO fixed the sigsuspend() call in 3.2v4.0, and somehow broke
  30. something that the workaround uses.
  31.  
  32. lib/readline/readline.c:
  33.  
  34. In rl_search_history,
  35.   /* Initialize search parameters. */
  36. #if 1
  37.   strncpy(search_string, the_line, 127);
  38.   search_string[127] = '\0';
  39.   search_string_index = strlen(search_string);
  40. #else
  41.   *search_string = '\0';
  42.   search_string_index = 0;
  43. #endif
  44.  
  45. So history searches start with the text already on the line as the pattern.
  46.  
  47.  
  48. William Bader
  49. Software Consulting Services
  50. 3162 Bath Pike
  51. Nazareth, PA  18064
  52. phone: 215-837-8485
  53. fax:   215-837-8080
  54. email: wbader@scarecrow.csee.lehigh.edu,
  55.        wbader@einstein.mse.lehigh.edu,
  56.        lehi3b15.csee.lehigh.edu!batman!bader
  57.  
  58.