Re: [PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-01-20 Thread Sascha Schumann
> Strange, I compiled it at home, and it gave me no troubles, must be a > wrong regexp to replace spaces by tabs then. I'll look into it later. Another issue is the lo_lseek() call. The third and fourth parameters are prototyped as int, but you are passing in char *. - Sascha

Re: [PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-01-20 Thread Derick Rethans
On Sat, 20 Jan 2001, Sascha Schumann wrote: > > +PHP_FUNCTION(pg_lolseek) { > > + val **pgsql_lofp, **seek_offset, **seek_whence; > ^^^ > > + gLofp *pgsql; > ^ > > + long int offset; > .. > > + ffset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd); > ^ > > + ETURN_LONG (of

Re: [PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-01-20 Thread Sascha Schumann
> +PHP_FUNCTION(pg_lolseek) { > + val **pgsql_lofp, **seek_offset, **seek_whence; ^^^ > + gLofp *pgsql; ^ > + long int offset; .. > + ffset = lo_tell((PGconn *)pgsql->conn, pgsql->lofd); ^ > + ETURN_LONG (offset); ^ Derick, this patch is completely brok