In message [EMAIL PROTECTED] "Brian F.
Feldman" writes:
: if ((p1 = (u_char *)mmap(NULL,
: - (size_t)length, PROT_READ, MAP_SHARED, fd1, off1)) == (u_char *)MAP_FAILED)
: + (size_t)mlength, PROT_READ, MAP_SHARED, fd1, off1)) == (u_char
:*)MAP_FAILED)
:
On Thu, 29 Jul 1999 00:52:27 -0400, "Brian F. Feldman" wrote:
If noone has any objections, I will commit this and MFC it in a week or so.
--- src/usr.bin/cmp/regular.c.origThu Jul 29 00:43:50 1999
+++ src/usr.bin/cmp/regular.c Thu Jul 29 00:44:54 1999
|---
If someone is interested to solve a problem:
$ dd if=/dev/zero bs=8848 count=1 of=a 2/dev/null
$ cp a b
$ cmp a b 0 0x300
Segmentation fault (core dumped)
$ cmp a b 0 0x200
cmp: EOF on b
$ cmp a b 0x300 0
cmp: EOF on a
Jean-Marc
I've seen a
In message pine.bsf.4.10.9907290051210.3955-100...@janus.syracuse.net Brian
F. Feldman writes:
: if ((p1 = (u_char *)mmap(NULL,
: - (size_t)length, PROT_READ, MAP_SHARED, fd1, off1)) == (u_char
*)MAP_FAILED)
: + (size_t)mlength, PROT_READ, MAP_SHARED, fd1, off1)) == (u_char
On Thu, 29 Jul 1999 00:52:27 -0400, Brian F. Feldman wrote:
If noone has any objections, I will commit this and MFC it in a week or so.
--- src/usr.bin/cmp/regular.c.origThu Jul 29 00:43:50 1999
+++ src/usr.bin/cmp/regular.c Thu Jul 29 00:44:54 1999
|--- src/usr.bin/cmp/regular.c.orig
If someone is interested to solve a problem:
$ dd if=/dev/zero bs=8848 count=1 of=a 2/dev/null
$ cp a b
$ cmp a b 0 0x300
Segmentation fault (core dumped)
$ cmp a b 0 0x200
cmp: EOF on b
$ cmp a b 0x300 0
cmp: EOF on a
Jean-Marc
I've seen a
On Thu, 29 Jul 1999, Sheldon Hearn wrote:
On Thu, 29 Jul 1999 00:52:27 -0400, Brian F. Feldman wrote:
If noone has any objections, I will commit this and MFC it in a week or so.
--- src/usr.bin/cmp/regular.c.orig Thu Jul 29 00:43:50 1999
+++ src/usr.bin/cmp/regular.c Thu
If someone is interested to solve a problem:
$ dd if=/dev/zero bs=8848 count=1 of=a 2/dev/null
$ cp a b
$ cmp a b 0 0x300
Segmentation fault (core dumped)
$ cmp a b 0 0x200
cmp: EOF on b
$ cmp a b 0x300 0
cmp: EOF on a
Jean-Marc
--
Jean-Marc ZucconiPGP Key: finger [EMAIL
If someone is interested to solve a problem:
$ dd if=/dev/zero bs=8848 count=1 of=a 2/dev/null
$ cp a b
$ cmp a b 0 0x300
Segmentation fault (core dumped)
$ cmp a b 0 0x200
cmp: EOF on b
$ cmp a b 0x300 0
cmp: EOF on a
Jean-Marc
I've seen a similar problem when doing cmp with
If someone is interested to solve a problem:
$ dd if=/dev/zero bs=8848 count=1 of=a 2/dev/null
$ cp a b
$ cmp a b 0 0x300
Segmentation fault (core dumped)
$ cmp a b 0 0x200
cmp: EOF on b
$ cmp a b 0x300 0
cmp: EOF on a
Jean-Marc
--
Jean-Marc ZucconiPGP Key: finger
If someone is interested to solve a problem:
$ dd if=/dev/zero bs=8848 count=1 of=a 2/dev/null
$ cp a b
$ cmp a b 0 0x300
Segmentation fault (core dumped)
$ cmp a b 0 0x200
cmp: EOF on b
$ cmp a b 0x300 0
cmp: EOF on a
Jean-Marc
I've seen a similar problem when doing cmp with
On Wed, 28 Jul 1999, Thomas David Rivers wrote:
If someone is interested to solve a problem:
$ dd if=/dev/zero bs=8848 count=1 of=a 2/dev/null
$ cp a b
$ cmp a b 0 0x300
Segmentation fault (core dumped)
$ cmp a b 0 0x200
cmp: EOF on b
$ cmp a b 0x300 0
cmp: EOF on a
12 matches
Mail list logo