1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/shells/bash2
David E. O'Brien 7f8208f177 Fix a segmentation fault on the Alpha.
As shown with this script :

	m(){ if [ $1 -eq 1 ];then echo $2 $3;else m $(($1-1)) $2 $4 $3;m 1 $2 \
	$3 $4;m $(($1-1)) $4 $3 $2;fi;};if [ $# -eq 3 ]&&[ $3 -ge 1 -a $1 -le \
	3 -a $1 -ge 1 -a $2 -le 3 -a $2 -ge 1 -a $1 -ne $2 ];then m $3 $1 $2 $\
	((6-$1-$2)); else echo Usage: /bin/sh hanoi.sh from to num; fi #by rhb

$ bash2 hanoi.sh 1 2 3
1 2
1 3
Segmentation fault (core dumped)

Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2001-03-17 01:24:32 +00:00
..
files Fix a segmentation fault on the Alpha. 2001-03-17 01:24:32 +00:00
distinfo Upgrade to 2.04 2000-05-07 20:33:34 +00:00
Makefile Put back my editor hints that were removed w/o permission. 2001-02-07 14:51:16 +00:00
pkg-comment Fix typo 2000-12-22 22:43:41 +00:00
pkg-descr add WWW: 2000-01-22 09:08:01 +00:00
pkg-plist fix installation of info files 1999-12-24 18:50:25 +00:00