diff options
author | Karl Berry <karl@freefriends.org> | 2008-04-30 21:53:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-04-30 21:53:49 +0000 |
commit | a834b8647f369a99764a8de2b9dc07bbcd38df7a (patch) | |
tree | e157ca61aacdec0ec1a5732f917e44e1b6c6a673 /Build/source/texk/dvipng/pk.c | |
parent | 0d3960d88898b0af67c4c022ee49601dd5f84968 (diff) |
avoid mmap struct member name, a #define on AIX
git-svn-id: svn://tug.org/texlive/trunk@7754 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/pk.c')
-rw-r--r-- | Build/source/texk/dvipng/pk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipng/pk.c b/Build/source/texk/dvipng/pk.c index 4ff254172f7..6eb7be92530 100644 --- a/Build/source/texk/dvipng/pk.c +++ b/Build/source/texk/dvipng/pk.c @@ -323,7 +323,7 @@ void InitPK(struct font_entry * tfontp) Message(BE_VERBOSE,"<%s>", tfontp->name); if (MmapFile(tfontp->name,&(tfontp->fmmap))) Fatal("font file %s unusable", tfontp->name); - position=(unsigned char*)tfontp->fmmap.mmap; + position=(unsigned char*)tfontp->fmmap.dp_mmap; if (tfontp->fmmap.size < 2 || tfontp->fmmap.size < 3+*(position+2)+16) Fatal("PK file %s ends prematurely",tfontp->name); if (*position++ != PK_PRE) @@ -353,7 +353,7 @@ void InitPK(struct font_entry * tfontp) position = skip_specials(position); while (*position != PK_POST) { DEBUG_PRINT(DEBUG_PK,("\n @%ld PK CHAR:\t%d", - (long)position - (long)tfontp->fmmap.mmap, *position)); + (long)position - (long)tfontp->fmmap.dp_mmap, *position)); if ((tcharptr = malloc(sizeof(struct char_entry))) == NULL) Fatal("cannot malloc space for char_entry"); tcharptr->flag_byte = *position; |