summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/output.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-03-20 22:01:42 +0000
committerKarl Berry <karl@freefriends.org>2007-03-20 22:01:42 +0000
commitdf757cca4c2688316b21433f462995397099cb5b (patch)
treee161ccb9e979d97549c123d9ca788be827a75974 /Build/source/texk/dvipsk/output.c
parent6da5a091abf605240fa8070226f7a97e5db97898 (diff)
report full pathnames
git-svn-id: svn://tug.org/texlive/trunk@4068 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/output.c')
-rw-r--r--Build/source/texk/dvipsk/output.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/output.c b/Build/source/texk/dvipsk/output.c
index 10203bed7de..f9700381f32 100644
--- a/Build/source/texk/dvipsk/output.c
+++ b/Build/source/texk/dvipsk/output.c
@@ -113,6 +113,7 @@ static char possibleDSCLine[81],
void
copyfile_general P2C(char *, s, struct header_list *, cur_header)
{
+ extern char *realnameoffile ;
FILE *f = NULL ;
int c, prevc = '\n' ;
long len ;
@@ -205,7 +206,11 @@ copyfile_general P2C(char *, s, struct header_list *, cur_header)
error(errbuf) ;
else {
if (! quiet) {
+#if defined(VMCMS) || defined (MVSXA)
if (strlen(s) + prettycolumn > STDOUTSIZE) {
+#else
+ if (strlen(realnameoffile) + prettycolumn > STDOUTSIZE) {
+#endif
fprintf(stderr, "\n") ;
prettycolumn = 0 ;
}
@@ -215,11 +220,15 @@ copyfile_general P2C(char *, s, struct header_list *, cur_header)
#ifdef MVSXA
(void)fprintf(stderr, "<%s>", trunc_s) ;
#else
- (void)fprintf(stderr, "<%s>", s) ;
+ (void)fprintf(stderr, "<%s>", realnameoffile) ;
#endif
#endif
(void)fflush(stderr) ;
+#if defined(VMCMS) || defined (MVSXA)
prettycolumn += 2 + strlen(s) ;
+#else
+ prettycolumn += 2 + strlen(realnameoffile) ;
+#endif
}
if (linepos != 0)
(void)putc('\n', bitfile) ;