~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to etc/afpd/desktop.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2009-09-09 23:43:27 UTC
  • mfrom: (8.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090909234327-dhgxhuanxheto4x8
Tags: 2.0.4-2
* Update copyright hints.
* Lower policy compliance to 3.8.0 (uncertain about sysv script
  requirements in 3.8.1).
* Fix order of db upgrade commands in README.Debian. Closes:
  bug#533344, thanks (again) to Itai Seggev.
* Update package-relations.mk: Cleanup unversioned+versioned
  dependency mix. Improve whitespace cleanup. Rewrite and silence
  applying dependencies.
* Fix and improve README.Debian section on recompiling with OpenSSL,
  thanks to Gijs Hillenius and others.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: desktop.c,v 1.26.2.4.2.18.2.7 2006/09/19 00:08:00 didg Exp $
 
2
 * $Id: desktop.c,v 1.26.2.4.2.18.2.8 2009/01/13 01:05:53 didg Exp $
3
3
 *
4
4
 * See COPYRIGHT.
5
5
 *
638
638
    if (!(vol->v_flags & AFPVOL_USEDOTS))
639
639
        flags |= CONV_ESCAPEDOTS;
640
640
 
641
 
    if ((vol->v_casefold & AFPVOL_MTOUUPPER))
 
641
    if (vol->v_casefold & AFPVOL_MTOUUPPER)
642
642
        flags |= CONV_TOUPPER;
643
 
    else if ((vol->v_casefold & AFPVOL_MTOULOWER))
 
643
    else if (vol->v_casefold & AFPVOL_MTOULOWER)
644
644
        flags |= CONV_TOLOWER;
645
645
 
 
646
    if (vol->v_flags & AFPVOL_EILSEQ) {
 
647
        flags |= CONV__EILSEQ;
 
648
    }
 
649
 
646
650
    m = demangle(vol, mpath, did);
647
651
    if (m != mpath) {
648
652
        return m;
677
681
    m = mpath;
678
682
    outlen = strlen(upath);
679
683
 
680
 
    if (vol->v_casefold & AFPVOL_UTOMUPPER)
 
684
    if ((vol->v_casefold & AFPVOL_UTOMUPPER))
681
685
        flags |= CONV_TOUPPER;
682
 
    else if (vol->v_casefold & AFPVOL_UTOMLOWER)
 
686
    else if ((vol->v_casefold & AFPVOL_UTOMLOWER))
683
687
        flags |= CONV_TOLOWER;
684
688
 
 
689
    if (vol->v_flags & AFPVOL_EILSEQ) {
 
690
        flags |= CONV__EILSEQ;
 
691
    }
 
692
 
685
693
    u = upath;
686
694
 
687
695
    /* convert charsets */