Newsgroups: comp.os.coherent Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!incom!orfeo!jrix!joachim From: joachim@jrix.radig.de (Joachim Riedel) Subject: TASS 3.01 - "patches" for small problems Message-ID: <1991Apr18.160802.20714@jrix.radig.de> Organization: Joachim Riedel, Offenbach, West Germany Distribution: comp Date: Thu, 18 Apr 91 16:08:02 GMT Lines: 39 Hi, TASS seems to work. But someone found out that TASS wants to create everytime you start it the directory //.mini.. It seems to be just one problem but I found out after twinkling fast with my eyes at startup of TASS that there are two problems. When TASS starts up, it tries to create a directory .tindex. The second time you start TASS the directory exists and you see the following line: mkdir //.tindex already exists. I used for mkdir the system command because my libndir has no such function (any better version/solution ?). The MINIXERS have a better libndir. edit main.c error: sprintf (kommando,"mkdir %s\n",indexdir); solution: sprintf (kommando,"mkdir %s 2>/dev/null\n",indexdir); In tass.h there is the other terrifying bug where Coherent normally should coredump: error: #define TASS_HEADER "Tass 3.01/Minix" solution: #define TASS_HEADER "Tass 3.01/Coherent" Joachim +---------------------------------------+-------+-------------------+-------+ | Joachim Riedel | @ @ | Don't worry, | @ @ | | Geschwister-Scholl-Strasse 48 | \_/ | keep smiling | \_/ | | D-6050 Offenbach am Main +-------+-------------------+-------+ | Tel. +49 69 85 62 25 | joachim@jrix.radig.de | +---------------------------------------+-----------------------------------+