Find Jobs
Hire Freelancers

Fix Mono's implementation of GZipStream

$30-50 USD

In Progress
Posted almost 18 years ago

$30-50 USD

Paid on delivery
I'm having the same problem as this fellow: [login to view URL] I'm using Mono on Red Hat Enterprise Linux release 4. Your job is to make the following program work on such a system. static void Main(string[] args) { byte[] data = new byte[] { 0, 1, 2, 3, 4 }; byte[] after = new byte[[login to view URL]]; using(MemoryStream ms = new MemoryStream(data)) using(GZipStream compress = new GZipStream(ms, [login to view URL])) using(GZipStream decompress = new GZipStream(compress, [login to view URL])) { [login to view URL](after, 0, [login to view URL]); } for(int i = 0; i < [login to view URL]; i++) { [login to view URL](after[i]); } } The bug is somewhere in this code (mono-1.1.13.8/support/zlib_macros.c): z = malloc (sizeof (z_stream)); z->next_in = Z_NULL; z->zalloc = Z_NULL; z->zfree = Z_NULL; z->opaque = Z_NULL; if (compress) { retval = deflateInit2 (z, Z_DEFAULT_COMPRESSION, Z_DEFLATED, gzip ? 31 : -15, 8, Z_DEFAULT_STRATEGY); } else { z->avail_in = 0; retval = inflateInit2 (z, gzip ? 31 : -15); } ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform See description.
Project ID: 3658311

About the project

1 proposal
Remote project
Active 18 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$42.50 USD in 7 days
5.0 (2 reviews)
1.9
1.9

About the client

Flag of UNITED STATES
San Francisco, United States
5.0
15
Payment method verified
Member since Aug 12, 2001

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.