Re: [Vserver] stederr

From: Chuck <chuck_at_sbbsnet.net>
Date: Mon 10 Oct 2005 - 18:51:37 BST
Message-Id: <200510101351.37710.chuck@sbbsnet.net>

On Monday 10 October 2005 01:32 pm, Robin Lee Powell wrote:

oh it outputs to the screen ok when i run it from a terminal, but this is
loaded as a plugin to qmail and is supposed to get logged into the qmail smtp
log which it does when the entire qmail system is run on an individual
machine or on a host. as a guest the program does its job but reports
nothing.

> On Mon, Oct 10, 2005 at 12:27:07PM -0400, Chuck wrote:
> > I have a simple c program that outputs to stderr. while it works
> > in the host it does not work in a guest which i am assuming is due
> > to stderr being a kernel thing..
>
> Erm. I think you have something very wrong. Plenty of programs in
> my guest output to stderr. But let me test, just in case:
>
> mooix:/tmp# cat test.c
> #include <stdio.h>
> #include <stdlib.h>
>
> void main(void)
> {
> fprintf( stderr, "test.\n" );
> }
> mooix:/tmp# gcc test.c -o test
> test.c: In function 'main':
> test.c:5: warning: return type of 'main' is not 'int'
> mooix:/tmp# ./test
> test.
> mooix:/tmp#
>
> -Robin
>
> --
> http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
> Reason #237 To Learn Lojban: "Homonyms: Their Grate!"
> Proud Supporter of the Singularity Institute - http://singinst.org/
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Oct 10 18:52:00 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 10 Oct 2005 - 18:52:04 BST by hypermail 2.1.8