projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94fd480
)
Applied a patch from Brian Webb to fix a problem with mount on the Agenda PDA.
author
Mark Whitley
<markw@lineo.com>
Mon, 12 Mar 2001 23:17:26 +0000
(23:17 -0000)
committer
Mark Whitley
<markw@lineo.com>
Mon, 12 Mar 2001 23:17:26 +0000
(23:17 -0000)
Apparently, the mount() call does not like taking a stack allocated pointer.
mount.c
patch
|
blob
|
history
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/mount.c
b/mount.c
index a2d6053c0404601be2657f4bb2b3dc27a69d5c38..58d43696416142914c109b1627ce6306dff6de96 100644
(file)
--- a/
mount.c
+++ b/
mount.c
@@
-440,6
+440,7
@@
extern int mount_main(int argc, char **argv)
device = strdup(m->mnt_fsname);
directory = strdup(m->mnt_dir);
filesystemType = strdup(m->mnt_type);
+ string_flags = strdup(string_flags);
singlemount:
rc = EXIT_SUCCESS;
#ifdef BB_NFSMOUNT
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index a2d6053c0404601be2657f4bb2b3dc27a69d5c38..58d43696416142914c109b1627ce6306dff6de96 100644
(file)
--- a/
util-linux/mount.c
+++ b/
util-linux/mount.c
@@
-440,6
+440,7
@@
extern int mount_main(int argc, char **argv)
device = strdup(m->mnt_fsname);
directory = strdup(m->mnt_dir);
filesystemType = strdup(m->mnt_type);
+ string_flags = strdup(string_flags);
singlemount:
rc = EXIT_SUCCESS;
#ifdef BB_NFSMOUNT