Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!magnus.ircc.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!usc!julius.cs.uiuc.edu!psuvax1!hsdndev!dartvax!northstar7!irvin From: irvin@northstar7 (Tim Irvin) Newsgroups: comp.sys.ibm.pc.rt Subject: help with ftpd Message-ID: <1991Feb11.210553.553@dartvax.dartmouth.edu> Date: 11 Feb 91 21:05:53 GMT Sender: irvin@northstar.dartmouth.edu Reply-To: irvin@northstar.dartmouth.edu (Tim Irvin) Distribution: usa Organization: Project NORTHSTAR, Dartmouth College Lines: 34 I am trying to fix a bug with the ftpd on an RT running AOS. Background: The daemon drops the connection to a user when they issue the "dir" command to their ftp (which issues the LIST ftpd command). But, if they use "ls" (NLST) then all goes well. LIST tries to do a "/bin/ls -lg", while NLST does a "/bin/ls". My solution was to make LIST act just like NLST, to see if the problem would clear up. So I edited the ftpcmd.y command in the sources and tried to make ftpd. Now the fun part started: the compiler complained (horribly) that many function where being used with either too many args or too few args. These were all warnings, so it finished compiling, but the program would not work (as one might expect). The binary was about half as big as the current binary, leading me to believe that the binary IBM furnished didn't come from the source code. So what I need is: 1) a fix to our initial problem or 2) source code that will compile If anyone has any ideas, solutions, etc. please give me a holler. Thanks, Tim Irvin Project NORTHSTAR Dartmouth College