Article View: comp.sys.ibm.pc.rt
Article #1097help with ftpd
From: Tim Irvin
Date: Mon, 11 Feb 1991 21:05
Date: Mon, 11 Feb 1991 21:05
34 lines
1706 bytes
1706 bytes
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
Technical Details
Message-ID:
<1991Feb11.210553.553@dartvax.dartmouth.edu>Path:
arc1-ca.pugleaf.net!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!irvinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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