Skip Menu |

This queue is for tickets about the C-Analyzer CPAN distribution.

Report information
The Basics
Id: 58060
Status: new
Priority: 0/
Queue: C-Analyzer

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.02
Fixed in: (no value)



Subject: [PATCH] getListOfCFiles() does not work on AIX
getListOfCFiles has a hard-coded list of supported platforms. When a platform is not recognized (such as AIX) it doesn't returns any files. Also getListOfCFiles is implemented using external commands ('dir' on Windows, 'find' on Linux...). getListOfCFiles should instead be implemented in pure Perl using either File::Glob or File::Find. Here is a naive implementation (that does not support recursive dir): sub C::Analyzer::getListOfCFiles() { my ($folder, $opt) = @_; return [ glob "$$folder/*.c" ]; } -- Olivier Mengué - http://o.mengue.free.fr/