[gitlog] [eggheads/eggdrop] fe192c: Remove compat memset. Closes #226

GitHub noreply at github.com
Sat Sep 15 18:20:25 UTC 2018

  Branch: refs/heads/develop
  Home:   https://github.com/eggheads/eggdrop
  Commit: fe192c0c01de35b94bd481ce76ce670e391473fa
  Author: michaelortmann <41313082+michaelortmann at users.noreply.github.com>
  Date:   2018-09-15 (Sat, 15 Sep 2018)

  Changed paths:
    M config.h.in
    M configure.ac
    M src/Makefile.in
    M src/compat/Makefile.in
    M src/compat/compat.h
    M src/compat/gnu_strftime.c
    R src/compat/memset.c
    R src/compat/memset.h
    M src/eggdrop.h
    M src/md5/Makefile.in
    M src/md5/md5c.c
    M src/mod/assoc.mod/Makefile
    M src/mod/blowfish.mod/Makefile
    M src/mod/channels.mod/Makefile
    M src/mod/compress.mod/Makefile.in
    M src/mod/compress.mod/compress.c
    M src/mod/console.mod/Makefile
    M src/mod/ctcp.mod/Makefile
    M src/mod/dns.mod/Makefile.in
    M src/mod/filesys.mod/Makefile
    M src/mod/irc.mod/Makefile
    M src/mod/module.h
    M src/mod/notes.mod/Makefile
    M src/mod/seen.mod/Makefile
    M src/mod/server.mod/Makefile
    M src/mod/share.mod/Makefile
    M src/mod/transfer.mod/Makefile
    M src/mod/uptime.mod/Makefile
    M src/mod/uptime.mod/uptime.c
    M src/mod/woobie.mod/Makefile
    M src/modules.c
    M src/tclhash.c

  Log Message:
  Remove compat memset. Closes #226

Found by: vanosg
Patch by: michaelortmann
Fixes: #226

eggdrop depends on posix 2001. posix 2001 defines memset().This patch gets rid of src/compat/memset*. egg_bzero() and egg_memset() is left as is, but redefined to directly use memset() with a one-liner define in eggdrop.h. For now, we'll keep egg_memset() for backward compatibility to older modules, and will remove it from later eggdrop versions when api breakage becomes possible.

      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

More information about the Changes mailing list