Re: [BUGS] Postgresql on Ultraparc/Linux , Bug report and patch!

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Silvio Macedo <smacedo@ic.ac.uk>
Cc: bugs@postgreSQL.org
Date: 1999-11-25T18:46:59Z
Lists: pgsql-bugs
Patch appied.


> 
> 
> 
> If you know how this problem might be fixed, list the solution below:
> ---------------------------------------------------------------------
> I send both diff -f and diff -u in attach
> 
> --- postgresql-6.5.3/src/backend/utils/adt/name.c	Mon Aug  2 06:24:55 1999
> +++ postgresql-6.5.3.my/src/backend/utils/adt/name.c	Thu Nov 25 11:53:39 1999
> @@ -87,7 +87,7 @@
>  	if (!arg1 || !arg2)
>  		return 0;
>  	else
> -		return (bool) strncmp(arg1->data, arg2->data, NAMEDATALEN) == 0;
> +	        return (bool) (strncmp(arg1->data, arg2->data, NAMEDATALEN) == 0);
>  }
>  
>  bool
> 
> ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
> ``````````````````````````````````````````````````````````````````````````
> Silvio Emanuel Nunes Barbosa de Macedo
> 
> smacedo@ic.ac.uk                                         smacedo@inescn.pt
> Imperial College, University of London                         INESC Porto 
> Intelligent and Interactive Systems                Telecom. and Multimedia
> Exhibition Road,                                       Pc da Republica, 93
> London SW7 2AZ, England                            4050-497 PORTO PORTUGAL
> Tel:+44 171 5946323                                    Tel:+351 22 2094220
> 
> 
> 
Content-Description: 

[Attachment, skipping...]
Content-Description: 

[Attachment, skipping...]


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026