Changeset 2b3dd78 in mainline for uspace/app/bdsh/cmds


Ignore:
Timestamp:
2018-01-31T12:02:00Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5595841
Parents:
a0a9cc2 (diff), 14d789c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'upstream/master' into forwardport

change tmon includes because of new stdlib

Location:
uspace/app/bdsh/cmds
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/builtins/batch/batch.c

    ra0a9cc2 r2b3dd78  
    3232#include <stddef.h>
    3333#include <errno.h>
     34#include <str.h>
    3435#include "config.h"
    3536#include "util.h"
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    ra0a9cc2 r2b3dd78  
    215215
    216216        if (tail != CAT_FULL_FILE) {
    217                 struct stat st;
     217                vfs_stat_t st;
    218218
    219219                if (vfs_stat(fd, &st) != EOK) {
  • uspace/app/bdsh/cmds/modules/cp/cp.c

    ra0a9cc2 r2b3dd78  
    8080static dentry_type_t get_type(const char *path)
    8181{
    82         struct stat s;
     82        vfs_stat_t s;
    8383
    8484        errno_t r = vfs_stat_path(path, &s);
     
    340340                 */
    341341                while ((dp = readdir(dir))) {
    342                         struct stat src_s;
    343                         struct stat dest_s;
     342                        vfs_stat_t src_s;
     343                        vfs_stat_t dest_s;
    344344
    345345                        char src_dent[PATH_MAX];
     
    392392        char *buff = NULL;
    393393        aoff64_t posr = 0, posw = 0;
    394         struct stat st;
     394        vfs_stat_t st;
    395395
    396396        if (vb)
  • uspace/app/bdsh/cmds/modules/ls/ls.h

    ra0a9cc2 r2b3dd78  
    2323struct dir_elem_t {
    2424        char *name;
    25         struct stat s;
     25        vfs_stat_t s;
    2626};
    2727
  • uspace/app/bdsh/cmds/modules/mount/mount.c

    ra0a9cc2 r2b3dd78  
    3737#include <getopt.h>
    3838#include <inttypes.h>
     39#include <str.h>
    3940#include "config.h"
    4041#include "util.h"
  • uspace/app/bdsh/cmds/modules/sleep/sleep.c

    ra0a9cc2 r2b3dd78  
    3131#include <stdio.h>
    3232#include <stdlib.h>
     33#include <str.h>
    3334#include "config.h"
    3435#include "util.h"
  • uspace/app/bdsh/cmds/modules/touch/touch.c

    ra0a9cc2 r2b3dd78  
    8282        int longind;
    8383        bool no_create = false;
    84         struct stat file_stat;
     84        vfs_stat_t file_stat;
    8585        int fd = -1;
    8686        char *buff = NULL;
Note: See TracChangeset for help on using the changeset viewer.