Re: reviving games/freebsd-games

2008-10-28 Thread clemens fischer
On Tue, 28 Oct 2008 13:03:32 +0100 clemens fischer wrote: > On Tue, 28 Oct 2008 11:57:15 +0100 Jurjen Middendorp wrote: > >> If you do char *p = "something", you can't write to that string >> (it's a pointer into some stringtable: easy way to look at it >> :). You have to use char p[] = "something

Re: reviving games/freebsd-games

2008-10-28 Thread clemens fischer
On Tue, 28 Oct 2008 11:57:15 +0100 Jurjen Middendorp wrote: > If you do char *p = "something", you can't write to that string (it's > a pointer into some stringtable: easy way to look at it :). You have > to use char p[] = "something", then it's an array with enough storage > to write to :) maybe

Re: reviving games/freebsd-games

2008-10-28 Thread Jurjen Middendorp
On Mon, Oct 27, 2008 at 09:22:19PM +0100, clemens fischer wrote: >> Jeremy Chadwick: > >> I think the bottom line here is that until someone steps up and >> actually volunteers to fix the code, it will remain broken. (I don't >> normally tote this attitude, but in this case it's applicable: this i

Re: reviving games/freebsd-games

2008-10-27 Thread Martin Tournoij
On Mon, Oct 27, 2008 at 08:53:46PM +0100, clemens fischer wrote: > Some of the programs in games/freebsd-games, notably hack and larn, have > the following problem: Given the declarations: > > char *scrollname[] = { char *potionname[] = { > "\0enchant armor", "\0sleep", > "\0enc

Re: reviving games/freebsd-games

2008-10-27 Thread clemens fischer
> Jeremy Chadwick: > I think the bottom line here is that until someone steps up and > actually volunteers to fix the code, it will remain broken. (I don't > normally tote this attitude, but in this case it's applicable: this is > a volunteer project! :-) ) That's why I want to try my skills on

Re: reviving games/freebsd-games

2008-10-27 Thread Jeremy Chadwick
On Mon, Oct 27, 2008 at 08:53:46PM +0100, clemens fischer wrote: > Some of the programs in games/freebsd-games, notably hack and larn, have > the following problem: Given the declarations: > > char *scrollname[] = { char *potionname[] = { > "\0enchant armor", "\0sleep", > "\0enc