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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79107 --- shadow/79107 2006-08-18 19:49:54.000000000 -0400 +++ shadow/79107.tmp.22833 2006-08-18 19:49:54.000000000 -0400 @@ -0,0 +1,29 @@ +Bug#: 79107 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: Ubuntu 6.06; mono 1.1.13.6 +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Mono.POSIX +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Mono.Unix.Native.Syscall.readlink less user-friendly than Mono.Posix.Syscall.readlink + +The old function, Mono.Posix.Syscall.readlink, took a string (the symlink) +and returned a string (the path it points to). +The new function, Mono.Unix.Native.Syscall.readlink, takes a string (the +symlink) and a StringBuilder (the path it points to), and returns an int +(the path's length). + +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). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
