#1233 Fixed issue on MacOS-X 10.4 (32 big big-endian PPC, 2003 OS) with realpath() and added additional images for future testing.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
+2
-1
@@ -807,12 +807,13 @@ int main(int argc,const char* argv[])
|
||||
if ( options.verbose ) printf("%s %s ",arg,types[type]) ;
|
||||
if ( type == typeImage ) {
|
||||
time_t t = readImageTime(std::string(arg)) ;
|
||||
char buffer[1024];
|
||||
char* path = realpath(arg,NULL);
|
||||
if ( t && path ) {
|
||||
if ( options.verbose) printf("%s %ld %s",path,(long int)t,asctime(localtime(&t)));
|
||||
gFiles.push_back(path);
|
||||
}
|
||||
if ( path ) :: free((void*) path);
|
||||
if ( path && path != buffer ) :: free((void*) path);
|
||||
}
|
||||
if ( type == typeUnknown ) {
|
||||
fprintf(stderr,"error: illegal syntax %s\n",arg);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Reference in New Issue
Block a user