aboutsummaryrefslogtreecommitdiff
path: root/coreutils/install.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
commitb16674f3c1a961e0b5d6a57745f5f749d95c641e (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /coreutils/install.c
parente7135df4a650f9197b633784472f45602524855b (diff)
downloadbusybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.gz
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.bz2
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.zip
Remove trailing whitespace. Update copyright to include 2004.
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/install.c')
-rw-r--r--coreutils/install.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/coreutils/install.c b/coreutils/install.c
index 82773b8de..305e02b0d 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -48,7 +48,7 @@ static const struct option install_long_options[] = {
48 { "owner", 0, NULL, 'o' }, 48 { "owner", 0, NULL, 'o' },
49 { 0, 0, 0, 0 } 49 { 0, 0, 0, 0 }
50}; 50};
51 51
52extern int install_main(int argc, char **argv) 52extern int install_main(int argc, char **argv)
53{ 53{
54 struct stat statbuf; 54 struct stat statbuf;
@@ -116,7 +116,7 @@ extern int install_main(int argc, char **argv)
116 } 116 }
117 return(ret); 117 return(ret);
118 } 118 }
119 119
120 cp_mv_stat2(argv[argc - 1], &statbuf, lstat); 120 cp_mv_stat2(argv[argc - 1], &statbuf, lstat);
121 for (i = optind; i < argc - 1; i++) { 121 for (i = optind; i < argc - 1; i++) {
122 unsigned char *dest; 122 unsigned char *dest;
@@ -137,15 +137,15 @@ extern int install_main(int argc, char **argv)
137 /* Set the user and group id */ 137 /* Set the user and group id */
138 if (lchown(dest, uid, gid) == -1) { 138 if (lchown(dest, uid, gid) == -1) {
139 bb_perror_msg("cannot change ownership of %s", dest); 139 bb_perror_msg("cannot change ownership of %s", dest);
140 ret = EXIT_FAILURE; 140 ret = EXIT_FAILURE;
141 } 141 }
142 if (flags & INSTALL_OPT_STRIP) { 142 if (flags & INSTALL_OPT_STRIP) {
143 if (execlp("strip", "strip", dest, NULL) == -1) { 143 if (execlp("strip", "strip", dest, NULL) == -1) {
144 bb_error_msg("strip failed"); 144 bb_error_msg("strip failed");
145 ret = EXIT_FAILURE; 145 ret = EXIT_FAILURE;
146 } 146 }
147 } 147 }
148 } 148 }
149 149
150 return(ret); 150 return(ret);
151} 151}