Changeset 39330200 in mainline for uspace/app/bdsh/cmds
- Timestamp:
- 2018-01-15T21:40:49Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba29018
- Parents:
- d8023313
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:20:07)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:40:49)
- Location:
- uspace/app/bdsh/cmds/modules
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cat/cat.c
rd8023313 r39330200 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
rd8023313 r39330200 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
rd8023313 r39330200 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/touch/touch.c
rd8023313 r39330200 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.