2009-01-22 10:15 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)

* bin/hb-func.sh
    * fix darwin detection 
  * make_gnu.sh
    * fix darwin detection
	 * added ncurses detection logic like slang one
  * contrib/hbtip/ftpcln.prg
    * fixed wrong changes from nil to .f.
	 * someone in the past has done a mass change of the return values
	 * without checking the results
This commit is contained in:
Lorenzo Fiorini
2009-01-22 09:16:45 +00:00
parent 911bb802a4
commit 5ff136ef1f
4 changed files with 34 additions and 6 deletions

View File

@@ -8,6 +8,17 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-01-22 10:15 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
* bin/hb-func.sh
* fix darwin detection
* make_gnu.sh
* fix darwin detection
* added ncurses detection logic like slang one
* contrib/hbtip/ftpcln.prg
* fixed wrong changes from nil to .f.
* someone in the past has done a mass change of the return values
* without checking the results
2009-01-22 09:30 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
* bin/hb-mkslib.sh
* fix name of dylibs

View File

@@ -122,7 +122,7 @@ mk_hbtools()
elif [ "${HB_ARCHITECTURE}" = "w32" ]; then
hb_tool="$1/${hb_pref}-build"
hb_path_separator=":"
if [ "${HB_MK_STATIC}" != "no" ]; then
if [ "${HB_MK_STATIC}" = "yes" ]; then
hb_static="yes"
hb_static_default=" (default)"
else
@@ -133,7 +133,7 @@ mk_hbtools()
elif [ "${HB_ARCHITECTURE}" = "darwin" ]; then
hb_tool="$1/${hb_pref}-build"
hb_path_separator=":"
if [ "${HB_MK_STATIC}" != "no" ]; then
if [ "${HB_MK_STATIC}" = "yes" ]; then
hb_static="yes"
hb_static_default=" (default)"
else

View File

@@ -407,13 +407,13 @@ METHOD List( cSpec ) CLASS tIPClientFTP
IF ::bUsePasv
IF .not. ::Pasv()
//::bUsePasv := .F.
RETURN .F.
RETURN NIL
ENDIF
ENDIF
IF .not. ::bUsePasv
IF .not. ::Port()
RETURN .F.
RETURN NIL
ENDIF
ENDIF
@@ -535,7 +535,7 @@ METHOD Read( nLen ) CLASS tIPClientFTP
IF .not. ::CWD( ::oUrl:cPath )
::bEof := .T. // no data for this transaction
RETURN .F.
RETURN NIL
ENDIF
@@ -550,7 +550,7 @@ METHOD Read( nLen ) CLASS tIPClientFTP
IF .not. ::Retr( ::oUrl:cFile )
::bEof := .T. // no data for this transaction
RETURN .F.
RETURN NIL
ENDIF

View File

@@ -25,6 +25,7 @@ if [ -z "$HB_ARCHITECTURE" ]; then
*os/2*) hb_arch="os2" ;;
*dos) hb_arch="dos" ;;
*bsd) hb_arch="bsd" ;;
*darwin) hb_arch="darwin" ;;
esac
fi
export HB_ARCHITECTURE="$hb_arch"
@@ -65,6 +66,22 @@ if [ -z "${HB_WITHOUT_GTSLN}" ]; then
export HB_WITHOUT_GTSLN
fi
if [ -z "${HB_WITHOUT_GTCRS}" ]; then
HB_WITHOUT_GTCRS=yes
case "$HB_ARCHITECTURE" in
linux|bsd|darwin|hpux|sunos)
for dir in /usr /usr/local /sw /opt/local
do
if [ -f ${dir}/include/ncurses.h ] || \
[ -f ${dir}/include/ncurses/ncurses.h ]; then
HB_WITHOUT_GTCRS=no
fi
done
;;
esac
export HB_WITHOUT_GTCRS
fi
if [ -z "$HB_COMMERCE" ]; then export HB_COMMERCE=no; fi
if [ "$HB_COMMERCE" = yes ]