Changeset 2b3dd78 in mainline for uspace/app/bdsh/cmds
- Timestamp:
- 2018-01-31T12:02:00Z (8 years ago)
- 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. - Location:
- uspace/app/bdsh/cmds
- Files:
-
- 7 edited
-
builtins/batch/batch.c (modified) (1 diff)
-
modules/cat/cat.c (modified) (1 diff)
-
modules/cp/cp.c (modified) (3 diffs)
-
modules/ls/ls.h (modified) (1 diff)
-
modules/mount/mount.c (modified) (1 diff)
-
modules/sleep/sleep.c (modified) (1 diff)
-
modules/touch/touch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtins/batch/batch.c
ra0a9cc2 r2b3dd78 32 32 #include <stddef.h> 33 33 #include <errno.h> 34 #include <str.h> 34 35 #include "config.h" 35 36 #include "util.h" -
uspace/app/bdsh/cmds/modules/cat/cat.c
ra0a9cc2 r2b3dd78 215 215 216 216 if (tail != CAT_FULL_FILE) { 217 struct stat st;217 vfs_stat_t st; 218 218 219 219 if (vfs_stat(fd, &st) != EOK) { -
uspace/app/bdsh/cmds/modules/cp/cp.c
ra0a9cc2 r2b3dd78 80 80 static dentry_type_t get_type(const char *path) 81 81 { 82 struct stat s;82 vfs_stat_t s; 83 83 84 84 errno_t r = vfs_stat_path(path, &s); … … 340 340 */ 341 341 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; 344 344 345 345 char src_dent[PATH_MAX]; … … 392 392 char *buff = NULL; 393 393 aoff64_t posr = 0, posw = 0; 394 struct stat st;394 vfs_stat_t st; 395 395 396 396 if (vb) -
uspace/app/bdsh/cmds/modules/ls/ls.h
ra0a9cc2 r2b3dd78 23 23 struct dir_elem_t { 24 24 char *name; 25 struct stat s;25 vfs_stat_t s; 26 26 }; 27 27 -
uspace/app/bdsh/cmds/modules/mount/mount.c
ra0a9cc2 r2b3dd78 37 37 #include <getopt.h> 38 38 #include <inttypes.h> 39 #include <str.h> 39 40 #include "config.h" 40 41 #include "util.h" -
uspace/app/bdsh/cmds/modules/sleep/sleep.c
ra0a9cc2 r2b3dd78 31 31 #include <stdio.h> 32 32 #include <stdlib.h> 33 #include <str.h> 33 34 #include "config.h" 34 35 #include "util.h" -
uspace/app/bdsh/cmds/modules/touch/touch.c
ra0a9cc2 r2b3dd78 82 82 int longind; 83 83 bool no_create = false; 84 struct stat file_stat;84 vfs_stat_t file_stat; 85 85 int fd = -1; 86 86 char *buff = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
