Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!beta!myxm From: myxm@beta.UUCP (Mike Mitchell) Newsgroups: comp.sources.bugs Subject: Re: uupc for MS-DOS problem Message-ID: <9720@beta.UUCP> Date: Sat, 5-Sep-87 13:41:20 EDT Article-I.D.: beta.9720 Posted: Sat Sep 5 13:41:20 1987 Date-Received: Sun, 6-Sep-87 06:14:32 EDT References: <339@gsg.UUCP> Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 17 Keywords: uupc MS-DOS uucp comm Summary: this code fragment is ok... In article <339@gsg.UUCP>, lew@gsg.UUCP (Paul Lew) writes: > Has anyone built UUPC/PCMAIL under MS-DOS? I tried to install UUPC > posted to the net on my PC (MS-DOS 3.2), it took me a while but I > finally got it built. However, it will not talk to the COM1 port. > sscanf(name, "COM%d", &i); <---- why take the addr of i? THIS IS CORRECT!! ^^ the source code for uupc compiles with microsoft c v4.0 and the microsoft assembler v3.0. i compiled and got it to work with only having to fix one bug. this was in the routine that compares the calling system's name to the ones in the systems file. before that change, it would answer the phone, establish a link and then hang up. this fragment of code that you posted, however, is not braindamaged. granted, the amount of documentation with this was far from superior. but the code does work as distributed with the compiler and assembler the poster mentioned in his miniscule documentation. (thos above).