On Sat, 28 Apr 2001, Shaul Karl wrote:

> > > [17:02:49 tmp]$ diff -c bug1.c bug.c
> > <snip>
> > Didn't understand that part at all - what are you trying to say ?
> >
>
> I am Using Debian.
> My main point was that as far as my C knowledge is, your program is not well
> defined. The compiler is warning you about it:
>
> [14:23:14 tmp]$ cc -Wall bug.c -o bug.c
> bug.c: In function `main':
> bug.c:8: warning: implicit declaration of function `write'
> [14:23:33 tmp]$
>
> Therefore, you can not claim that it is not correct. My suggestion on how to
> make it well defined is to #include <unistd.h>. I have done this in my bug1.c
> program and this has removed the compiler warning.

Jeez - who gives a flying f** !
:-)

_My_ compiler doesn't give warning and anyway - this really isn't the
point. I'm not here to be corrected about missing headers I'm here about
bash misbehaving.
If you don't like my shoddy C skills, try this for size
# echo -n "test"
it's still the same point. normally (and with your bash 2.05 on Debian),
this would resilt in the word "test" being printed on the screen and the
prompt to the right of it. but not on my Mandrake 8. no siree.
And stop being righteous - it's no fun ;-)

Oded


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to