mail-archives/mono-bugs/2003-August/007003.html

109 строки
3.6 KiB
HTML
Исходник Обычный вид История

2019-06-06 22:03:35 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 47789][Nor] New - Stack.Clone sets wrong Count
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="007007.html">
<LINK REL="Next" HREF="006995.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 47789][Nor] New - Stack.Clone sets wrong Count
</H1>
<B>bugzilla-daemon@bugzilla.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
TITLE="[Mono-bugs] [Bug 47789][Nor] New - Stack.Clone sets wrong Count">bugzilla-daemon@bugzilla.ximian.com
</A><BR>
<I>Thu, 21 Aug 2003 10:08:27 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="007007.html">[Mono-bugs] =?ISO-8859-1?b?U2F2ZSA1MCUgb24gVmlhZ3JhIG9ubGluZSAtIG5vIHByZXNjcmlwdGlvbiByZXF1aXJlZA==?=
</A></li>
<LI> Next message: <A HREF="006995.html">[Mono-bugs] [Bug 47789][Nor] Changed - Stack.Clone sets wrong Count
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7003">[ date ]</a>
<a href="thread.html#7003">[ thread ]</a>
<a href="subject.html#7003">[ subject ]</a>
<a href="author.html#7003">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:joergr@voelcker.com.">joergr@voelcker.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=47789">http://bugzilla.ximian.com/show_bug.cgi?id=47789</A>
--- shadow/47789 2003-08-21 10:08:27.000000000 -0400
+++ shadow/47789.tmp.7121 2003-08-21 10:08:27.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 47789
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Suse 8.2
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:JoergR@voelcker.com">JoergR@voelcker.com</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Stack.Clone sets wrong Count
+
+Description of Problem:
+When you clone a Stack object the Count property equals Capacity and not
+element count.
+
+Steps to reproduce the problem:
+1. Compile the attached sample
+2. Run it
+
+Actual Results:
+Elements in stack1: 0
+ Add 2 Elements to stack1
+Elements in stack1: 2
+ Clone stack1 to stack2
+Elements in stack2: 16
+
+Expected Results:
+Elements in stack1: 0
+ Add 2 Elements to stack1
+Elements in stack1: 2
+ Clone stack1 to stack2
+Elements in stack2: 2
+
+
+How often does this happen?
+Always
+
+Additional Information:
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="007007.html">[Mono-bugs] =?ISO-8859-1?b?U2F2ZSA1MCUgb24gVmlhZ3JhIG9ubGluZSAtIG5vIHByZXNjcmlwdGlvbiByZXF1aXJlZA==?=
</A></li>
<LI> Next message: <A HREF="006995.html">[Mono-bugs] [Bug 47789][Nor] Changed - Stack.Clone sets wrong Count
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7003">[ date ]</a>
<a href="thread.html#7003">[ thread ]</a>
<a href="subject.html#7003">[ subject ]</a>
<a href="author.html#7003">[ author ]</a>
</LI>
</UL>
</body></html>