From: Wolfgang Denk Date: Tue, 26 Jan 2010 00:07:24 +0100 Subject: [U-Boot] [PATCH] getline: split out for darwin systems In-Reply-To: <1262936883-31877-1-git-send-email-vapier@gentoo.org> References: <1262936883-31877-1-git-send-email-vapier@gentoo.org> Message-ID: <20100125230724.6DD4ED334C9@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1262936883-31877-1-git-send-email-vapier@gentoo.org> you wrote: > At least on OS X 10.5 and older, getline does not exist. So split out the > function from the mingw code so that we can pull it in for Darwin systems. > > Signed-off-by: Mike Frysinger > --- > tools/getline.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++++ > tools/getline.h | 1 + > tools/mingw_support.c | 99 +----------------------------------------------- > tools/mingw_support.h | 2 +- > tools/os_support.c | 3 + > tools/os_support.h | 4 ++ > 6 files changed, 111 insertions(+), 99 deletions(-) > create mode 100644 tools/getline.c > create mode 100644 tools/getline.h Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I realize that command does have its fascination, even under circum- stances such as these, but I neither enjoy the idea of command nor am I frightened of it. It simply exists, and I will do whatever logi- cally needs to be done. -- Spock, "The Galileo Seven", stardate 2812.7