Index: hfsutils-3.2.6/hcopy.c =================================================================== --- hfsutils-3.2.6.orig/hcopy.c +++ hfsutils-3.2.6/hcopy.c @@ -42,6 +42,8 @@ extern int optind; +char *hfs_error_path; + /* * NAME: automode_unix() * DESCRIPTION: automatically choose copyin transfer mode for UNIX path Index: hfsutils-3.2.6/libhfs/hfs.h =================================================================== --- hfsutils-3.2.6.orig/libhfs/hfs.h +++ hfsutils-3.2.6/libhfs/hfs.h @@ -115,7 +115,6 @@ typedef struct { # define HFS_FNDR_ISALIAS (1 << 15) extern const char *hfs_error; -char *hfs_error_path; extern const unsigned char hfs_charorder[]; # define HFS_MODE_RDONLY 0 Index: hfsutils-3.2.6/copyin.c =================================================================== --- hfsutils-3.2.6.orig/copyin.c +++ hfsutils-3.2.6/copyin.c @@ -48,6 +48,7 @@ int dup(int); const char *cpi_error = "no error"; +extern char *hfs_error_path; extern int errno; # define ERROR(code, str) (cpi_error = (str), errno = (code)) Index: hfsutils-3.2.6/copyout.c =================================================================== --- hfsutils-3.2.6.orig/copyout.c +++ hfsutils-3.2.6/copyout.c @@ -49,6 +49,7 @@ int dup(int); const char *cpo_error = "no error"; +extern char *hfs_error_path; extern int errno; # define ERROR(code, str) (cpo_error = (str), errno = (code)) Index: hfsutils-3.2.6/hfssh.c =================================================================== --- hfsutils-3.2.6.orig/hfssh.c +++ hfsutils-3.2.6/hfssh.c @@ -32,6 +32,8 @@ # include "tclhfs.h" # include "suid.h" +char *hfs_error_path; + /* * NAME: Tcl->AppInit() * DESCRIPTION: initialize interpreter Index: hfsutils-3.2.6/hfswish.c =================================================================== --- hfsutils-3.2.6.orig/hfswish.c +++ hfsutils-3.2.6/hfswish.c @@ -35,6 +35,7 @@ static char *argv0; +char *hfs_error_path; # define DEFBITMAP(interp, name) \ Tk_DefineBitmap(interp, Tk_GetUid(#name), \