(mempcpy): Don't define if a system header defines it.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Aug 2004 04:48:31 +0000 (04:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Aug 2004 04:48:31 +0000 (04:48 +0000)
commit9db47123ce74651bda88707c3f67441622aae399
tree8d1e6f12001a75bbd4c26e86eff0248a4d0ae63e
parentbd3577a438c15b94f6cbb97c6ac2a5043c2686ad
(mempcpy): Don't define if a system header defines it.
Don't include stdio.h, stdlib.h, unistd.h, strdup.h.
(longest_relative_suffix): New function.
(path_concat): Use it.  Assume first argument is not NULL.
Port to DOS.  Omit redundant separators.
Report an error instead of returning NULL.
Use mempcpy instead of memcpy.
(xpath_concat): Remove: not declared or used.
lib/path-concat.c