@@ -617,27 +617,3 @@ dir_copy_files(const char *from_root, const char *to_root)
617
617
parray_walk (files , pgFileFree );
618
618
parray_free (files );
619
619
}
620
-
621
- #ifdef NOT_USED
622
- void
623
- pgFileDump (pgFile * file , FILE * out )
624
- {
625
- char mtime_str [100 ];
626
-
627
- fprintf (out , "=================\n" );
628
- if (file )
629
- {
630
- time2iso (mtime_str , 100 , file -> mtime );
631
- fprintf (out , "mtime=%lu(%s)\n" , file -> mtime , mtime_str );
632
- fprintf (out , "size=" UINT64_FORMAT "\n" , (uint64 )file -> size );
633
- fprintf (out , "read_size=" UINT64_FORMAT "\n" , (uint64 )file -> read_size );
634
- fprintf (out , "write_size=" UINT64_FORMAT "\n" , (uint64 )file -> write_size );
635
- fprintf (out , "mode=0%o\n" , file -> mode );
636
- fprintf (out , "crc=%u\n" , file -> crc );
637
- fprintf (out , "is_datafile=%s\n" , file -> is_datafile ? "true" : "false" );
638
- fprintf (out , "linked=\"%s\"\n" , file -> linked ? file -> linked : "nil" );
639
- fprintf (out , "path=\"%s\"\n" , file -> path );
640
- }
641
- fprintf (out , "=================\n" );
642
- }
643
- #endif
0 commit comments