[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] A Deliberate Mistake ...
From: |
David Benbennick |
Subject: |
Re: [Nano-devel] A Deliberate Mistake ... |
Date: |
Sat, 18 May 2002 00:13:09 -0400 |
User-agent: |
Mutt/1.2.5i |
Carl,
Here is a slightly changed version of your backup patch.
1) stat.st_mtimespec doesn't exist for me, and isn't POSIX. I changed it
to stat.st_mtime.
2) I put #ifndef NANO_SMALL bracketing around all the backup code.
3) I changed open(), read(), and write() to fopen(), fread(), and
fwrite().
Also, the patch now fixes a bug nano has had for a while. With
NANO_SMALL, the ^O prompt was
File Name to Write(null):
The problem was in do_writeout(), where formatstr was misdefined.
addBackup2.patch.gz
Description: GNU Zip compressed data
pgpAPzibD93In.pgp
Description: PGP signature