aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-04 14:54:36 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-04 14:54:36 +0000
commit3349fc4da948eb1393cd9201cd9c2615c0056c97 (patch)
tree9dbee1bc6b58c09ada9914870ec3ef11bcaf868d
parent400c5b6fc6aea218fdfbc14ac709a848d9c696b0 (diff)
downloadbusybox-w32-3349fc4da948eb1393cd9201cd9c2615c0056c97.tar.gz
busybox-w32-3349fc4da948eb1393cd9201cd9c2615c0056c97.tar.bz2
busybox-w32-3349fc4da948eb1393cd9201cd9c2615c0056c97.zip
applets: fix compile-time warning
-rw-r--r--applets/applets.c2
-rw-r--r--shell/README9
2 files changed, 8 insertions, 3 deletions
diff --git a/applets/applets.c b/applets/applets.c
index 32c63d1e0..307c8b349 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -337,7 +337,6 @@ static inline void parse_config_file(void)
337#if ENABLE_FEATURE_SUID 337#if ENABLE_FEATURE_SUID
338static void check_suid(const struct bb_applet *applet) 338static void check_suid(const struct bb_applet *applet)
339{ 339{
340 uid_t uid;
341 gid_t rgid; /* real gid */ 340 gid_t rgid; /* real gid */
342 341
343 if (ruid == 0) /* set by parse_config_file() */ 342 if (ruid == 0) /* set by parse_config_file() */
@@ -346,6 +345,7 @@ static void check_suid(const struct bb_applet *applet)
346 345
347#if ENABLE_FEATURE_SUID_CONFIG 346#if ENABLE_FEATURE_SUID_CONFIG
348 if (suid_cfg_readable) { 347 if (suid_cfg_readable) {
348 uid_t uid;
349 struct BB_suid_config *sct; 349 struct BB_suid_config *sct;
350 mode_t m; 350 mode_t m;
351 351
diff --git a/shell/README b/shell/README
index c3e7132ce..d962be9bf 100644
--- a/shell/README
+++ b/shell/README
@@ -1,8 +1,13 @@
1Various bits of what is known about busybox shells, in no particular order. 1Various bits of what is known about busybox shells, in no particular order.
2 2
32007-05-03 32007-05-03
4hush: new bug spotted: Ctrl-C on "while true; do true; done" kills shell, 4hush: new bug spotted: Ctrl-C on "while true; do true; done" doesn't
5not just the loop. 5work right:
6# while true; do true; done
7[1] 0 true <-- pressing Ctrl-C several times...
8[2] 0 true
9[3] 0 true
10Segmentation fault
6 11
72007-05-03 122007-05-03
8hush: update on "sleep 1 | exit 3; echo $?" bug. 13hush: update on "sleep 1 | exit 3; echo $?" bug.