bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] compiling tar cvs using mingw


From: Gerry Reno
Subject: Re: [Bug-tar] compiling tar cvs using mingw
Date: Wed, 10 Sep 2003 15:54:43 -0700 (PDT)

Sergey,
  Yes, this cleared the link error for the buffer.o module.  Didn't
help  clear any of the other link errors.  Need more code :-)

rgds,
Gerry Reno


--- Sergey Poznyakoff <address@hidden> wrote:
> >   Yes, the code in the affected modules is branching on the MSDOS
> > define but it seems that MSDOS is not including functions that are
> > later being called and this is the source of the link problems.  I
> > don't think I can go any further without some assistance on how to
> > proceed.
> 
> Yes, the function write_archive_buffer is not defined for MSDOS mode.
> Try adding the following definition to the `#if MSDOS' branch of
> buffer.c:
> 
> static ssize_t
> write_archive_buffer (void)
> {
>   ssize_t status;
>   ssize_t written = 0;
> 
>   while (0 <= (status = full_write (archive, record_start->buffer +
> written,
>                                     record_size - written)))
>     {
>       written += status;
>       if (written == record_size)
>         break;
>     }
> 
>   return written ? written : status;
> }
> 
> Regards,
> Sergey


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]