Completely reworked the path convertion functions
authormarkus schnalke <meillo@marmaro.de>
Fri, 9 Dec 2011 15:34:57 +0000 (16:34 +0100)
committermarkus schnalke <meillo@marmaro.de>
Fri, 9 Dec 2011 15:34:57 +0000 (16:34 +0100)
commitd39e2c447b0d163a5a63f480b23d06edb7a73aa0
treee332047f8f28dedf80fcdc700db45c91f7486c7b
parent6e8aba3714fe8ffc21dbb75ea9efdc41ab87b07f
Completely reworked the path convertion functions
Moved everything (from sbr/getfolder.c and sbr/m_maildir.c) into
sbr/path.c, but actually replaced the code almost completely.
See h/prototypes.h for the function changes.
sbr/path.c provides explaining comments on the functions.
None of them allocates memory automatically.

Additionally:
- Like for other ``files'', `inc -audit file' places file relative
  to the cwd, not relative to the mh-dir. This is for consistency.
- Replaced add(foo, NULL) with getcpy(foo), which ist clearer.
52 files changed:
config/config.c
h/mh.h
h/prototypes.h
man/inc.man
sbr/Makefile.in
sbr/context_read.c
sbr/copy.c
sbr/folder_read.c
sbr/getfolder.c [deleted file]
sbr/m_draft.c
sbr/m_maildir.c [deleted file]
sbr/m_mktemp.c
sbr/path.c
sbr/utils.c
uip/anno.c
uip/burst.c
uip/comp.c
uip/dist.c
uip/flist.c
uip/folder.c
uip/forw.c
uip/inc.c
uip/install-mh.c
uip/mark.c
uip/mhbuild.c
uip/mhbuildsbr.c
uip/mhcachesbr.c
uip/mhlist.c
uip/mhlistsbr.c
uip/mhparse.c
uip/mhpath.c
uip/mhshow.c
uip/mhshowsbr.c
uip/mhstore.c
uip/mhstoresbr.c
uip/mhtest.c
uip/new.c
uip/packf.c
uip/pick.c
uip/picksbr.c
uip/rcvstore.c
uip/refile.c
uip/repl.c
uip/rmf.c
uip/rmm.c
uip/scan.c
uip/send.c
uip/sendsbr.c
uip/show.c
uip/slocal.c
uip/sortm.c
uip/whatnowsbr.c