/branches/dynload/uspace/app/bdsh/Makefile |
---|
57,8 → 57,6 |
cmds/modules/pwd/ \ |
cmds/modules/sleep/ \ |
cmds/modules/cp/ \ |
cmds/modules/mv/ \ |
cmds/modules/mount/ \ |
cmds/modules/kcon/ \ |
cmds/builtins/ \ |
cmds/builtins/exit/\ |
74,8 → 72,6 |
cmds/modules/pwd/pwd.c \ |
cmds/modules/sleep/sleep.c \ |
cmds/modules/cp/cp.c \ |
cmds/modules/mv/mv.c \ |
cmds/modules/mount/mount.c \ |
cmds/modules/kcon/kcon.c \ |
cmds/builtins/exit/exit.c \ |
cmds/builtins/cd/cd.c \ |
/branches/dynload/uspace/app/bdsh/cmds/modules/mv/mv.c |
---|
File deleted |
/branches/dynload/uspace/app/bdsh/cmds/modules/mv/mv_def.h |
---|
File deleted |
/branches/dynload/uspace/app/bdsh/cmds/modules/mv/entry.h |
---|
File deleted |
/branches/dynload/uspace/app/bdsh/cmds/modules/mv/mv.h |
---|
File deleted |
/branches/dynload/uspace/app/bdsh/cmds/modules/mount/mount.h |
---|
File deleted |
/branches/dynload/uspace/app/bdsh/cmds/modules/mount/mount.c |
---|
File deleted |
/branches/dynload/uspace/app/bdsh/cmds/modules/mount/mount_def.h |
---|
File deleted |
/branches/dynload/uspace/app/bdsh/cmds/modules/mount/entry.h |
---|
File deleted |
/branches/dynload/uspace/app/bdsh/cmds/modules/modules.h |
---|
26,8 → 26,6 |
#include "pwd/entry.h" |
#include "sleep/entry.h" |
#include "cp/entry.h" |
#include "mv/entry.h" |
#include "mount/entry.h" |
#include "kcon/entry.h" |
/* Each .def function fills the module_t struct with the individual name, entry |
44,10 → 42,7 |
#include "pwd/pwd_def.h" |
#include "sleep/sleep_def.h" |
#include "cp/cp_def.h" |
#include "mv/mv_def.h" |
#include "mount/mount_def.h" |
#include "kcon/kcon_def.h" |
{NULL, NULL, NULL, NULL} |
}; |
/branches/dynload/uspace/app/bdsh/cmds/modules/cat/cat.c |
---|
87,8 → 87,7 |
off_t total = 0; |
char *buff = NULL; |
fd = open(fname, O_RDONLY); |
if (fd < 0) { |
if (-1 == (fd = open(fname, O_RDONLY))) { |
printf("Unable to open %s\n", fname); |
return 1; |
} |
/branches/dynload/uspace/app/bdsh/cmds/modules/module_aliases.h |
---|
12,7 → 12,6 |
* the entry point being reached. */ |
char *mod_aliases[] = { |
"ren", "mv", |
NULL, NULL |
}; |