This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: simple c 's printf problem in mandrake8.0


Perhaps it may be worth getting the CVS bash, and building that
yourself?
If not, see if you can find and older bash and use that (I use 2.04, you
presumably have 2.05a)...

Sorry I can't help you anymore! If it is not too much effort, you could
even get mandrake 8.1, the upgrade is simple.

Stephano

> -----Original Message-----
> From: root@mailnw.centurytel.net [mailto:root@mailnw.centurytel.net]
On
> Behalf Of eric
> Sent: 31 December 2001 13:36
> To: Stephano Mariani
> Cc: gcc-help@gcc.gnu.org
> Subject: Re: simple c 's printf problem in mandrake8.0
> 
> Dear Stephano:
> 
>   both are not work on bash but work on csh on my mandrake 8.0, I also
> webmail them (mandrakesoft) on tech support, but they said it in not
in
> the scope they want to support.
> 
> 
> 
> Stephano Mariani wrote:
> >
> > Here is what I mean:
> >
> > #include <stdio.h>
> >
> > int main(int argc,char*const*argv)
> > {
> >   printf("Hello World"); /* No linefeed */
> >   fflush(stdout); /* Likewise for any other stream(s) you use */
> >   _exit(0);
> > }
> >
> > or even
> >
> > #include <stdio.h>
> >
> > int main(int argc,char*const*argv)
> > {
> >   if(setvbuf(stdout,NULL,_IONBF,(size_t)0)) /* Set buffering off */
> >   {
> >     /* Deal with error */
> >   }
> >   printf("Hello World"); /* No linefeed */
> >   _exit(0);
> > }
> >
> > Does that work... If not, get in touch with mandrakesoft on their
> > mailing lists.
> >
> > Stephano Mariani
> >



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]