#1233 Correction to r4573

v0.27.3
Robin Mills 9 years ago
parent 86028dd46e
commit fcd0cb3e19

@ -808,7 +808,7 @@ int main(int argc,const char* argv[])
if ( type == typeImage ) { if ( type == typeImage ) {
time_t t = readImageTime(std::string(arg)) ; time_t t = readImageTime(std::string(arg)) ;
char buffer[1024]; char buffer[1024];
char* path = realpath(arg,NULL); char* path = realpath(arg,buffer);
if ( t && path ) { if ( t && path ) {
if ( options.verbose) printf("%s %ld %s",path,(long int)t,asctime(localtime(&t))); if ( options.verbose) printf("%s %ld %s",path,(long int)t,asctime(localtime(&t)));
gFiles.push_back(path); gFiles.push_back(path);

Loading…
Cancel
Save