🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.folklore.computers
1 messages
1 total messages Started by j... Jyrki Kuoppala Wed, 13 Dec 1989 17:11
BSD /bin/mail
#115
Author: j... Jyrki Kuoppala
Date: Wed, 13 Dec 1989 17:11
18 lines
1511 bytes
Once I was working on a program to do some interesting things with
ptrace() (no, I won't tell you the details ;-).  I had the basic
concept working and was just polishing the code a bit.  I used
/bin/mail to do some testing.  I was more than a bit amazed when the
program just started saying `puke' to me - I checked my code and no
there wasn't a string `puke' there.  But still all the program did was
that it printed the word `puke' on the line by itself - well maybe
machines really HAVE a sense of humour, I thought (taking into account
what I was trying to do ;-).

After some amount of tracing and thinking I could reproduce the
message by execlp("/bin/mail", 0);

//Jyrki

Jyrki Kuoppala    Helsinki University of Technology, Finland.
Internet :        j...@cs.hut.fi           [130.233.251.253]
BITNET :          jkp@fingate.bitnet      Gravity is a myth, the Earth sucks!
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