Changes in / [1c0cef0:9e59c3b8] in mainline


Ignore:
Files:
9 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    r1c0cef0 r9e59c3b8  
    273273uspace/app/df/df
    274274uspace/dist/app/df
    275 uspace/app/download/download
    276 uspace/dist/app/download
  • boot/Makefile.common

    r1c0cef0 r9e59c3b8  
    174174        $(USPACE_PATH)/app/dnscfg/dnscfg \
    175175        $(USPACE_PATH)/app/dnsres/dnsres \
    176         $(USPACE_PATH)/app/download/download \
    177176        $(USPACE_PATH)/app/edit/edit \
    178177        $(USPACE_PATH)/app/inet/inet \
  • tools/config.py

    r1c0cef0 r9e59c3b8  
    363363def create_output(mkname, mcname, config, rules):
    364364        "Create output configuration"
    365 
    366         timestamp_unix = int(time.time())
    367         timestamp = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(timestamp_unix))
     365       
     366        timestamp = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
    368367       
    369368        sys.stderr.write("Fetching current revision identifier ... ")
     
    424423                outmc.write('#define REVISION %s\n' % revision)
    425424                defs += ' "-DREVISION=%s"' % revision
    426        
    427         outmk.write('TIMESTAMP_UNIX = %d\n' % timestamp_unix)
    428         outmc.write('#define TIMESTAMP_UNIX %d\n' % timestamp_unix)
    429         defs += ' "-DTIMESTAMP_UNIX=%d"\n' % timestamp_unix
    430425       
    431426        outmk.write('TIMESTAMP = %s\n' % timestamp)
  • uspace/Makefile

    r1c0cef0 r9e59c3b8  
    4242        app/dnscfg \
    4343        app/dnsres \
    44         app/download \
    4544        app/edit \
    4645        app/getterm \
     
    235234        lib/gui \
    236235        lib/hound \
    237         lib/http \
    238236        lib/softrend \
    239237        lib/draw \
     
    241239        lib/nic \
    242240        lib/ext4 \
    243         lib/uri \
    244241        lib/usb \
    245242        lib/usbhost \
  • uspace/Makefile.common

    r1c0cef0 r9e59c3b8  
    141141LIBBITHENGE_PREFIX = $(LIB_PREFIX)/bithenge
    142142
    143 LIBHTTP_PREFIX = $(LIB_PREFIX)/http
    144 LIBURI_PREFIX = $(LIB_PREFIX)/uri
    145 
    146143ifeq ($(STATIC_NEEDED),y)
    147144        STATIC_BUILD = y
  • uspace/app/wavplay/drec.c

    r1c0cef0 r9e59c3b8  
    213213        wave_header_t header;
    214214        fseek(rec.file, sizeof(header), SEEK_SET);
    215         if (ret != EOK) {
    216                 printf("Error parsing wav header\n");
     215        const char *error;
     216        if (ret != EOK) {
     217                printf("Error parsing wav header: %s.\n", error);
    217218                goto cleanup;
    218219        }
  • uspace/lib/c/generic/io/asprintf.c

    r1c0cef0 r9e59c3b8  
    5050}
    5151
    52 int vprintf_size(const char *fmt, va_list args)
    53 {
    54         printf_spec_t ps = {
    55                 asprintf_str_write,
    56                 asprintf_wstr_write,
    57                 NULL
    58         };
    59        
    60         return printf_core(fmt, &ps, args);
    61 }
    62 
    63 int printf_size(const char *fmt, ...)
    64 {
    65         va_list args;
    66         va_start(args, fmt);
    67         int ret = vprintf_size(fmt, args);
    68         va_end(args);
    69        
    70         return ret;
    71 }
    72 
    7352/** Allocate and print to string.
    7453 *
     
    8261int asprintf(char **strp, const char *fmt, ...)
    8362{
     63        printf_spec_t ps = {
     64                asprintf_str_write,
     65                asprintf_wstr_write,
     66                NULL
     67        };
     68       
    8469        va_list args;
    8570        va_start(args, fmt);
    86         int ret = vprintf_size(fmt, args);
     71       
     72        int ret = printf_core(fmt, &ps, args);
    8773        va_end(args);
    8874       
  • uspace/lib/c/include/stdio.h

    r1c0cef0 r9e59c3b8  
    124124extern int vsnprintf(char *, size_t, const char *, va_list);
    125125
    126 extern int printf_size(const char *, ...)
    127     PRINTF_ATTRIBUTE(1, 2);
    128 extern int vprintf_size(const char *, va_list);
    129 
    130126/* File stream functions */
    131127extern FILE *fopen(const char *, const char *);
Note: See TracChangeset for help on using the changeset viewer.