Replace getcpy() and strdup() with mh_xstrdup()
authorm@mmmmarascio.xyz <m@mmmmarascio.xyz>
Mon, 4 Apr 2016 04:33:34 +0000 (21:33 -0700)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sat, 9 Apr 2016 15:05:14 +0000 (17:05 +0200)
commit9cf6132a6ea29968131a000bc2fb6860affac45e
tree68d2ec1cee04323f0824181cb41892a7c5e533ac
parentd4c34b4439a9dbd89664de460ed37ecddc260fb1
Replace getcpy() and strdup() with mh_xstrdup()

this harmonise the code.

Also fix some bugs, if return value of strdup is not checked.
60 files changed:
docs/TODO
h/prototypes.h
h/utils.h
sbr/Makefile.in
sbr/addrsbr.c
sbr/context_read.c
sbr/context_replace.c
sbr/crawl_folders.c
sbr/fmt_addr.c
sbr/fmt_compile.c
sbr/fmt_new.c
sbr/folder_read.c
sbr/getarguments.c
sbr/getcpy.c [deleted file]
sbr/m_draft.c
sbr/readconfig.c
sbr/seq_read.c
sbr/seq_setprev.c
sbr/seq_setunseen.c
sbr/trimcpy.c
sbr/utils.c
uip/ali.c
uip/aliasbr.c
uip/anno.c
uip/ap.c
uip/burst.c
uip/comp.c
uip/dist.c
uip/flist.c
uip/folder.c
uip/forw.c
uip/inc.c
uip/mark.c
uip/mhbuild.c
uip/mhl.c
uip/mhlist.c
uip/mhlistsbr.c
uip/mhmail.c
uip/mhparse.c
uip/mhpath.c
uip/mhshow.c
uip/mhshowsbr.c
uip/mhstore.c
uip/mhtest.c
uip/new.c
uip/packf.c
uip/pick.c
uip/rcvdist.c
uip/rcvstore.c
uip/refile.c
uip/repl.c
uip/rmf.c
uip/rmm.c
uip/scan.c
uip/send.c
uip/slocal.c
uip/sortm.c
uip/spost.c
uip/whatnow.c
uip/whom.c