From 5392357ac2598da3c03667c03eda605f35ef2810 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 20 Apr 2015 19:23:26 -0400 Subject: build-bash-1: fix grammar mistakes --- public/build-bash-1.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/build-bash-1.md b/public/build-bash-1.md index e70a36b..27b3fba 100644 --- a/public/build-bash-1.md +++ b/public/build-bash-1.md @@ -52,7 +52,7 @@ correctly on my box: 2. Add `#define USE_TERMCAP_EMULATION` to the section for Linux [sic] on i386 (`# if !defined (done386) && (defined (__linux__) || defined (linux))`. - What this does is tell it to use link against libcurses to use + What this does is tell it to link against libcurses to use curses termcap emulation, instead of linking against libtermcap (which doesn't exist on modern GNU/Linux systems). @@ -73,11 +73,11 @@ That's a doozy! Let's break it down: - `-Wno-int-to-pointer-cast -Wno-pointer-to-int-cast` Allow casting between integers and pointers. Unfortunately, the way this version of Bash was designed requires this. -- `-Wno-deprecated-declarations`. The `getwd` function in `unistd.h` - is considered deprecated (use `getcwd` instead). However, if - `getcwd` is available, Bash uses it's own `getwd` wrapper around - `getcwd` (implemented in `general.c`), and only uses the signature - from `unistd.h`, not the actually implementation from libc. +- `-Wno-deprecated-declarations` The `getwd` function in `unistd.h` is + considered deprecated (use `getcwd` instead). However, if `getcwd` + is available, Bash uses it's own `getwd` wrapper around `getcwd` + (implemented in `general.c`), and only uses the signature from + `unistd.h`, not the actuall implementation from libc. - `-include stdio.h -include stdlib.h -include string.h` Several files are missing these header file includes. If not for `-Werror`, the default function signature fallbacks would work. -- cgit v1.2.3