🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Sean Casey Thu, 26 Aug 1993 17:11
Weird Tin 1.21 system() problem on Pyramid
#5544
Author: Sean Casey
Date: Thu, 26 Aug 1993 17:11
26 lines
1498 bytes
I'm using Tin 1.21 on a Pyramid (OSX 5.1) in the UCB universe. In the
invoke_cmd() routine, system() always returns -1, whether the executed
command succeeds or not. I've changed shells, and even hardcoded in
the following:

misc.c line ~455:

#if defined(SIGCHLD) && !defined(RS6000) && !defined(PYRAMID)
        system (nam);
        ret = system_status;
#else
        ret = system(nam);
        fprintf(stderr, "Ret = %d\n", system("/bin/true")); sleep (3);/* CSC*/
#endif
						

Which prints Ret = -1. The exact same code in a one-liner C program
outputs Ret = 0.

Postings always look like they fail, even if they don't. Any ideas?

Sean
-- 
``Wind, waves, etc. are breakdowns in the face of the commitment to
getting from here to there. But they are conditions for sailing -- not
something to be gotten rid of, but something to be danced with.''
Re: Weird Tin 1.21 system() problem on Pyramid
#5562
Author: Wim van Dorst/Prof. Penninger
Date: Fri, 27 Aug 1993 07:48
25 lines
2007 bytes
Sean Casey writes:
>I'm using Tin 1.21 on a Pyramid (OSX 5.1) in the UCB universe. In the
>invoke_cmd() routine, system() always returns -1, whether the executed
>command succeeds or not. I've changed shells, and even hardcoded in
>the following: [...]
>Postings always look like they fail, even if they don't. Any ideas?

I have exactly the same problem on a Linux 0.99.10 operating system,
tin compiled for Linux with Gcc 2.4.3, linux libs 4.4.1. I have been
looking into this a bit, but since I have not found anything useful
yet I didn't send in a bugreport or post a question about it.

At first I suspected my non-standard inews program (own-development) 
of causing the trouble, but as Sean obviously uses something else, the 
trouble may well be Tin's. Just a thought while typing this: Tin doesn't
provide it's own system(), does it?

ps. Other Linuxers having compiler warnings on qsort()?

Met vriendelijke groeten, Wim van Dorst
-- 
---------------------------------------------------------------------
Blue Baron = Wim van Dorst, Voice (+31) 074-443937, (+31) 02152-42319
(-: baron@clifton.hobby.nl  tgcpwd@urc.tue.nl  WvD@Akzo.400net.nl :-)
---------------------------------------------------------------------
Re: Weird Tin 1.21 system() problem on Pyramid
#5568
Author: Iain Lea
Date: Fri, 27 Aug 1993 09:06
17 lines
1332 bytes
Sean Casey (csc@pilot.njin.net) wrote:
:
: I'm using Tin 1.21 on a Pyramid (OSX 5.1) in the UCB universe. In the
: invoke_cmd() routine, system() always returns -1, whether the executed
: command succeeds or not. I've changed shells, and even hardcoded in
: the following:

Strange - but so are lost of things.

: [stuff...]
: Postings always look like they fail, even if they don't. Any ideas?

Ah. You are getting the posting failed message even tho it succeeded.
It is fixed in the next version due rsn.

--
iain.lea@erlm.siemens.de  +49-911-3089-407
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads