Ignore:
Timestamp:
Nov 4, 2007, 3:16:40 AM (16 years ago)
Author:
Bruno Cornec
Message:

Update to busybox 1.7.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi-busybox/archival/libunarchive/header_verbose_list.c

    r821 r1765  
    1 #include <stdio.h>
    2 #include <string.h>
    3 #include <time.h>
     1/* vi: set sw=4 ts=4: */
     2/*
     3 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
     4 */
     5
    46#include "libbb.h"
    57#include "unarchive.h"
     
    911    struct tm *mtime = localtime(&(file_header->mtime));
    1012
    11     printf("%s %d/%d%10u %4u-%02u-%02u %02u:%02u:%02u %s",
     13    printf("%s %d/%d %9"OFF_FMT"u %4u-%02u-%02u %02u:%02u:%02u %s",
    1214        bb_mode_string(file_header->mode),
    1315        file_header->uid,
    1416        file_header->gid,
    15         (unsigned int) file_header->size,
     17        file_header->size,
    1618        1900 + mtime->tm_year,
    1719        1 + mtime->tm_mon,
     
    2224        file_header->name);
    2325
    24     if (file_header->link_name) {
    25         printf(" -> %s", file_header->link_name);
     26    if (file_header->link_target) {
     27        printf(" -> %s", file_header->link_target);
    2628    }
    2729    /* putchar isnt used anywhere else i dont think */
Note: See TracChangeset for help on using the changeset viewer.