*BSD News Article 53298


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!kettle.magna.com.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!news.mid.net!news.dra.com!news.interlog.com!io.org!nobody
From: taob@ionews.io.org (Brian Tao)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: WU-ftpd
Date: 19 Oct 1995 11:58:44 -0400
Organization: Internex Online (io.org) Data: 416-363-4151  Voice: 416-363-8676
Lines: 16
Message-ID: <465sjk$t4d@ionews.io.org>
References: <45ukc3$1vn@titan.ci.ua.pt> <46092n$4lg@homer.alpha.net>
NNTP-Posting-Host: flinch.io.org

In article <46092n$4lg@homer.alpha.net>, Dean Roth  <Dean_Roth@mgic.com> wrote:
>
> Is off_t a long or quad word in FreeBSD? If the latter you need to
> change a few lines of code in ftpd.c because ftpd.c assumes long.


typedef quad_t          off_t;          /* file offset */

    What needs to be changed in ftpd.c?  I'm getting segfaults from
time to time as well, but a backtrace in gdb shows the cause to be a
malloc call in the sgetsave() function.  I think that's used in the
password routines, which don't involve any off_t values.
-- 
Brian Tao (BT300, taob@io.org)
System Administrator, Internex Online Inc.
"Though this be madness, yet there is method in't"