diff options
author | wlemb <wlemb> | 2003-12-06 13:09:40 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-12-06 13:09:40 +0000 |
commit | a0ec1c694798a91a3df34eee89c5547dac90e432 (patch) | |
tree | ed2273a0aeb7c3e0d154ae74294e5e864fc32b9a /src/roff/groff/groff.cpp | |
parent | 0c132242916f13129299fe6739b1be939a85d456 (diff) | |
download | groff-a0ec1c694798a91a3df34eee89c5547dac90e432.tar.gz |
Use path separator character of target platform for compiled-in
default paths.
* aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
* configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
* configure: Regenerated.
* Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
* src/include/nonposix.h (PATH_SEP_CHAR): New definition.
Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
Diffstat (limited to 'src/roff/groff/groff.cpp')
-rw-r--r-- | src/roff/groff/groff.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/roff/groff/groff.cpp b/src/roff/groff/groff.cpp index d20998b5..f92c8af6 100644 --- a/src/roff/groff/groff.cpp +++ b/src/roff/groff/groff.cpp @@ -240,7 +240,7 @@ int main(int argc, char **argv) case 'F': font::command_line_font_dir(optarg); if (Fargs.length() > 0) { - Fargs += PATH_SEP[0]; + Fargs += PATH_SEP_CHAR; Fargs += optarg; } else @@ -378,7 +378,7 @@ int main(int argc, char **argv) e += Fargs; char *fontpath = getenv("GROFF_FONT_PATH"); if (fontpath && *fontpath) { - e += PATH_SEP[0]; + e += PATH_SEP_CHAR; e += fontpath; } e += '\0'; @@ -404,7 +404,7 @@ int main(int argc, char **argv) else f += BINPATH; if (path && *path) { - f += PATH_SEP[0]; + f += PATH_SEP_CHAR; f += path; } f += '\0'; |