After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324820 - beagle fails to compile
beagle fails to compile
Status: RESOLVED DUPLICATE of bug 324529
Product: beagle
Classification: Other
Component: General
0.1.x
Other Linux
: Normal blocker
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2005-12-22 16:05 UTC by Joseph Sacco
Modified: 2005-12-22 17:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joseph Sacco 2005-12-22 16:05:02 UTC
beagle-0.1.4 fails to compile using the 1.1.11 mono stack

The problem is an 'accessibility' problem, which is resolved by using accessor set/get methods.

The file in question is 

    ./bludgeon/TarFileObject.cs

The fix is shown below


-Joseph

=======================================================================
--- beagle-0.1.4/bludgeon/TarFileObject.cs-     2005-12-22 10:47:40.000000000 -0500
+++ beagle-0.1.4/bludgeon/TarFileObject.cs      2005-12-22 10:48:45.000000000 -0500
@@ -57,19 +57,19 @@
                        StringBuilder name_builder;
                        name_builder = new StringBuilder (fso.FullName);
                        name_builder.Remove (0, this.FullName.Length+1);
-                       header.name = name_builder;
+                       header.Name = name_builder.ToString();

-                       header.modTime = fso.Timestamp;
+                       header.ModTime = fso.Timestamp;
                        if (fso is DirectoryObject) {
-                               header.mode = 511; // 0777
-                               header.typeFlag = TarHeader.LF_DIR;
-                               header.size = 0;
+                               header.Mode = 511; // 0777
+                               header.TypeFlag = TarHeader.LF_DIR;
+                               header.Size = 0;
                        } else {
-                               header.mode = 438; // 0666
-                               header.typeFlag = TarHeader.LF_NORMAL;
+                               header.Mode = 438; // 0666
+                               header.TypeFlag = TarHeader.LF_NORMAL;
                                memory = new MemoryStream ();
                                ((FileObject) fso).AddToStream (memory, tracker);
-                               header.size = memory.Length;
+                               header.Size = memory.Length;
                        }

                        TarEntry entry;
Comment 1 Lukas Lipka 2005-12-22 17:19:05 UTC
This is a known issue. Check the release notes for more details.

*** This bug has been marked as a duplicate of 324529 ***