mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
filetype support for RISC OS
This commit is contained in:
parent
f33df26a20
commit
557f65836d
11 changed files with 137 additions and 35 deletions
|
@ -44,10 +44,12 @@ make_basename(const char *filepath)
|
|||
char *p;
|
||||
|
||||
if ( !(p=strrchr(filepath, DIRSEP_C)) )
|
||||
#ifdef HAVE_DRIVE_LETTERS
|
||||
#ifdef HAVE_DRIVE_LETTERS
|
||||
if ( !(p=strrchr(filepath, '\\')) )
|
||||
if ( !(p=strrchr(filepath, ':')) )
|
||||
#endif
|
||||
#elif defined(__riscos__)
|
||||
if ( !(p=strrchr(filepath, ':')) )
|
||||
#endif
|
||||
{
|
||||
return m_strdup(filepath);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue