bugs in php-xajax with PHP7

2019-06-20 Thread Lindsay Haisley
I just upgraded a server to Ubuntu 16.04 LTS. This version supplies
PHP7.0 leaving only a stub for PHP5.

I have a number of system web applications which use xajax, and the
package php-xajax v0.5-1ubuntu1 is offered with xenial, and is
installed.

The PHP code with this version of php-xajax contains a number of pass-
by-reference expressions, e.g. "$xuf =& new xajaxUserFunction($xuf);"
in xajax-core/xajax.inc.php (and other files). The use of the pass-by-
reference operator "=&" is disallowed in PHP7 for instantiating objects
and will generate a syntax error. Because objects are assigned by
reference anyway, the "&" may (must!) be omitted. 

I've fixed a bunch of these in several xajax files, which involves
turning on error_reporting in the proper places and going after these
errors one by one, but I doubt if I've gotten all of them.

When I get some time, I'll go through PHP files and post a unified
diff, but I'm pretty busy, so it may be a while. This must be fixed,
though, or php-xajax is unusable as-is with PHP7.

-- 
Lindsay Haisley   | "The only unchanging certainty
FMP Computer Services |is the certainty of change"
512-259-1190  |
http://www.fmp.com| - Ancient wisdom, all cultures

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Announcing release 2.5.14 of gif2png

2019-06-20 Thread Eric S. Raymond
Release 2.5.14 of gif2png is now available at:

http://www.catb.org/~esr/gif2png

Here are the most recent changes:

  Redirect segfault to a graceful exit. Tired of meaningless fuzzer bugs.

--
 shipper, acting for Eric S. Raymond 



-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss