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
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.
>
> > >
> > > 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
> > >
>
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
>
> > >
> > > 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
> > >
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.
In message "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)
: err(ERR_EXIT, "%s", file1
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)
: err(E
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
>
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
>
>
> 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 do
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 j...@fre
>
> 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 d
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
14 matches
Mail list logo