[MPlayer-users] [PATCH] dirname undefined
Arpi
arpi at thot.banki.hu
Mon Jan 6 01:49:50 CET 2003
Hi,
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi -
>
> Dirname doesn't appear to exist for me.
argh
> s = strdup(in_cue_filename);
> - t = dirname(s);
> + t = strrchr(s, '/');
> + if (t == (char *)NULL)
> + t = s;
> + else
> + t++;
> printf ("dirname: %s\n", t);
these are not equivalent
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-users
mailing list