[Mono-bugs] [Bug 79107][Wis] Changed - Mono.Unix.Native.Syscall.readlink less user-friendly than Mono.Posix.Syscall.readlink

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 20 19:52:06 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jonpryor at vt.edu.


--- shadow/79107	2006-08-18 19:49:54.000000000 -0400
+++ shadow/79107.tmp.9249	2006-08-20 19:52:06.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79107
 Product: Mono: Class Libraries
 Version: 1.1
+OS: unknown
 OS Details: Ubuntu 6.06; mono
-Status: NEW   
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Wishlist
 Component: Mono.POSIX
 AssignedTo: miguel at ximian.com                            
 ReportedBy: Ziktar at DeadMoose.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -24,6 +24,19 @@
 When writing code, I think the first version is much cleaner, as I don't
 have to worry about the possible path link in the symlink. Also, the first
 version only is one line of code, while the new version is three
 (initializing the StringBuilder, calling readlink, then calling .ToString
 on the StringBuilder to turn it into the string I'm using later).
+------- Additional Comments From jonpryor at vt.edu  2006-08-20 19:52 -------
+Mono.Unix.Native.Syscall exports a POSIX-compatible API, so that you
+can use your existing man pages for usage information.  This is why it
+takes a less "user-friendly" API.
+The Mono.Unix namespace contains wrappers to simplify use of the
+Mono.Unix.Native APIs and conform them to .NET conventions (e.g.
+PascalCasing naming conventions, exceptions for errors instead of
+errno, etc.)
+Use the Mono.Unix.UnixPath.ReadLink(string) method for a method as
+simple to use as Mono.Posix.Syscall.readlink().

More information about the mono-bugs mailing list