Michael C. Toren on Mon, 13 May 2002 18:02:51 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Mac OS/X, Darwin and Opensource software...

  • From: "Michael C. Toren" <mct@toren.net>
  • To: plug@lists.phillylinux.org
  • Subject: Re: [PLUG] Mac OS/X, Darwin and Opensource software...
  • Date: Mon, 13 May 2002 18:02:47 -0400
  • User-agent: Mutt/1.2.5i

>     map[nmap].alias = memcpy (&string_space[string_space_act], /* 351 */
>       alias, alias_len);
>     string_space_act += alias_len;

A cheesy way out, but ofcourse you could simply never use the return value:

	memcpy(&string_space[string_space_act], alias, alias_len);
	map[nmap].alias = &string_space[string_space_act];
	string_space_act += alias_len;

*shrug*

-mct