Branch: Tag:

2014-09-03

2014-09-03 17:53:37 by Martin Nilsson <nilsson@opera.com>

memset is C89 and 4.3BSD

159:      static void init_pike_sendfile(struct object *UNUSED(o))   { -  MEMSET(THIS, 0, sizeof(struct pike_sendfile)); +  memset(THIS, 0, sizeof(struct pike_sendfile));       /* callback doesn't actually need to be initialized since it is a    * mapped variable, but since we just zapped it with zeroes we need
892:    * This means that we can throw errors without needing to clean up.    */    -  MEMSET(&sf, 0, sizeof(struct pike_sendfile)); +  memset(&sf, 0, sizeof(struct pike_sendfile));    SET_SVAL(sf.callback, T_INT, NUMBER_NUMBER, integer, 0);       get_all_args("sendfile", args, "%A%O%l%l%A%o%*",