/*
- $Id: ea.c,v 1.12 2009-10-25 05:45:59 didg Exp $
+ $Id: ea.c,v 1.14 2009-10-29 19:20:28 franklahm Exp $
Copyright (c) 2009 Frank Lahm <franklahm@gmail.com>
This program is free software; you can redistribute it and/or modify
char *u;
size_t inplen;
size_t outlen;
- uint16_t flags = CONV_ESCAPEHEX;
+ uint16_t flags = CONV_ESCAPEHEX | CONV_FORCE;
if (!mpath)
return NULL;
static char pathbuf[MAXPATHLEN + 1];
/* get name of a adouble file from uname */
- adname = ea->vol->vfs->ad_path(ea->filename, (ea->ea_flags & EA_DIR) ? ADFLAGS_DIR : 0);
+ adname = ea->vol->ad_path(ea->filename, (ea->ea_flags & EA_DIR) ? ADFLAGS_DIR : 0);
/* copy it so we can work with it */
strlcpy(pathbuf, adname, MAXPATHLEN + 1);
/* append "::EA" */