🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
2 messages
2 total messages Started by Doug Schmidt Tue, 28 Mar 1989 06:50
typo in Vec.ccP
#487
Author: Doug Schmidt
Date: Tue, 28 Mar 1989 06:50
30 lines
1236 bytes
The following patch fixes a typo in the libg++ 1.34 Vec.ccP file.

Doug

----------------------------------------
*** Vec.ccP.~1~	Fri Mar 10 01:12:54 1989
--- Vec.ccP	Mon Mar 27 22:46:44 1989
***************
*** 351,357 ****
    { 
      <T> c = *j;
      *j++ = *base;
!     *i  = c;
    }
    for (min = base; (hi = min += 1) < max;)
    {
--- 351,357 ----
    { 
      <T> c = *j;
      *j++ = *base;
!     *j  = c;
    }
    for (min = base; (hi = min += 1) < max;)
    {
--
On a clear day, under blue skies, there is no need to seek.
And asking about Buddha                +------------------------+
Is like proclaiming innocence,         | schmidt@ics.uci.edu    |
With loot in your pocket.              | office: (714) 856-4043 |
Re: typo in Vec.ccP
#488
Author: Doug Schmidt
Date: Tue, 28 Mar 1989 07:03
38 lines
1570 bytes
In article <10699@paris.ics.uci.edu> Doug Schmidt <schmidt@glacier.ics.uci.edu> writes:
++ 
++ The following patch fixes a typo in the libg++ 1.34 Vec.ccP file.
++ 

Oops, wrong fix.  This will teach me not to simply provide textual 
substitution patches without engaging my brain first!        

I *think* this gets it right....

Doug

*** Vec.ccP.~1~	Mon Mar 27 22:46:44 1989
--- Vec.ccP	Mon Mar 27 23:00:58 1989
***************
*** 350,357 ****
    if (j != base)
    { 
      <T> c = *j;
!     *j++ = *base;
!     *j  = c;
    }
    for (min = base; (hi = min += 1) < max;)
    {
--- 350,357 ----
    if (j != base)
    { 
      <T> c = *j;
!     *j    = *base;
!     *j++  = c;
    }
    for (min = base; (hi = min += 1) < max;)
    {
--
On a clear day, under blue skies, there is no need to seek.
And asking about Buddha                +------------------------+
Is like proclaiming innocence,         | schmidt@ics.uci.edu    |
With loot in your pocket.              | office: (714) 856-4043 |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads