Re: [Banshee-List] Mono.Posix -> Mono.Unix



I actually fixed this yesterday with my local copy. These changes will be committed and in the next release.

Thanks!

Aaron

Stephane Raimbault wrote:
Hi,

Since Mono 1.1.3, Mono.Posix namespace is deprecated and with Mono
1.1.9, compilation displays some warnings. So I wrote a little script to
correct the situation :

#!/bin/sh
files=`find . -name "*.cs" -exec grep -l Mono.Posix {} \;`
for f in $files; do
    sed s/"Mono.Posix"/"Mono.Unix"/g $f > tmp
    mv tmp $f
done

Similar problem with
./LibraryTrackInfo.cs(303,46): warning CS0618: `Mono.Unix.UnixConvert'
is obsolete: `Use Mono.Unix.Native.NativeConvert'

and

./AudioCdCore.cs(302,52): warning CS0618:
`Mono.Unix.UnixFile.Open(string, Mono.Unix.OpenFlags)' is obsolete: `Use
Open(string, Mono.Unix.Native.OpenFlags)'

Bye
Stephane



------------------------------------------------------------------------

_______________________________________________
Banshee-list mailing list
Banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]