Changeset 4049

Show
Ignore:
Timestamp:
04/06/06 19:08:42 (3 years ago)
Author:
morris
Message:

Print number of available space in file listings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wire/trunk/configure

    r4030 r4049  
    63696369  break 
    63706370done 
    6371  
     6371fi 
     6372echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 
     6373echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 
     6374if test "$ac_cv_sys_file_offset_bits" != no; then 
     6375 
     6376cat >>confdefs.h <<_ACEOF 
     6377#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 
     6378_ACEOF 
    63726379 
    63736380fi 
  • wire/trunk/wire/client.c

    r4028 r4049  
    10831083 
    10841084static void wr_msg_411(wi_array_t *arguments) { 
    1085         wi_list_node_t  *node; 
    1086         wr_file_t               *file; 
    1087         unsigned int    max_length = 0; 
     1085        wi_list_node_t          *node; 
     1086        wr_file_t                       *file; 
     1087        wi_file_offset_t        free; 
     1088        unsigned int            max_length = 0; 
    10881089 
    10891090        if(wr_ls_state == WR_LS_LISTING) { 
    1090                 wr_printf_prefix(WI_STR("Listing of %@:"), wr_files_ld); 
     1091                free = wi_string_uint64(WI_ARRAY(arguments, 1)); 
     1092 
     1093                wr_printf_prefix(WI_STR("Listing of %@ (%@ available):"), wr_files_ld, wr_files_string_for_size(free)); 
    10911094 
    10921095                if(wi_list_count(wr_files) == 0) {