*BSD News Article 46878


Return to BSD News archive

From: nora@ne.Snafu.DE (Nora E. Etukudo)
Date: Fri, 14 Jul 95 21:54:45 GMT
Message-ID: <95Jul14.213710.5319@ne.Snafu.DE>
Reply-To: nora@ne.Snafu.DE (Nora E. Etukudo)
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!news.sprintlink.net!howland.reston.ans.net!Germany.EU.net!netmbx.de!uriela.in-berlin.de!claudia.snafu.de!not-for-mail
Organization: Nora's UNIX Archive Berlin, Germany, Private Site
X-Newswriter: [pnews V1.0.0a], Nora's own news handler
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: 2.0.5R: vim-3.0 anyone?
Lines: 39

Hello folks.

I've mysterious errors  on working with 'vim-3.0'  (vi-clone). If I switch
to any of the "Insert-Modes", I get an error message like this

    `Seek error in swap file read'

and if I write back the modified file, I get

    `Seek error in swap file write'

but no errors in my edited files, so far. I've looked into the sources and
found following code pieces

    if (lseek(mfp->mf_fd, offset, SEEK_SET) != offset)
    {
        EMSG("Seek error in swap file read");
        return FAIL;
    }

and

    if (lseek(mfp->mf_fd, offset, SEEK_SET) != offset)
    {
        EMSG("Seek error in swap file write");
        return FAIL;
    }

Is there something wrong with 'lseek()' under 2.0.5R? On 1.1.5.1 and other
OS'es including Linux, ISC-UNIX, I didn't get these errors.

Any idea's?

Tschaui, Nora.
--
|   nora@eeubln.IN-Berlin.DE (Nora E. Etukudo)
|   nora@ne.snafu.de        |      +4930 8932911, 14400-V42bis, 0000-2359h
|                           |      +4930 8922407, 14400-V42bis, 2245-0745h
|   UUCP: nuucp nuucp, Interaktiv: archiv <keins>, INDEX: ~/archiv/INDEX.z