Commit graph

6 commits

Author SHA1 Message Date
J. Brandt Buckley
e46eea00e7 bbcp: fix implicit int build error with patch
This commit fixes a build failure caused by `main`'s use of an implicit
`int` return type specifier.

The embedded patch just makes the return type explicit.

ISSUE

As of C99, a declaration that lacks a type specifier isn't implicitly
assumed to be int, which causes the build to fail with this error:

    bbcp.C:61:1: error: C++ requires a type specifier for all declarations
    main(int argc, char *argv[], char *envp[])
    ^~~~

ENVIRONMENT

- g++ : Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
- OS  : Mac OS X 10.8.5 (Build 12F37)

NOTES

- Confirmed Formula passes audit.
- Also sent the patch to the upstream developer.

Closes Homebrew/homebrew#22832.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-26 22:46:28 -07:00
Adam Vandenberg
b1da66a590 bbcp 13.05.03.00.0
Closes Homebrew/homebrew#19806.
2013-05-14 09:38:23 -07:00
Adam Vandenberg
1b179a7dc5 bbcp 12.08.17.00.0 2012-10-14 12:49:14 -07:00
Jack Nagel
c7fc76f23d bbcp: whitespace
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-06 00:29:23 -05:00
Adam Vandenberg
da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Stuart Glenn
78af280606 New Formula: bbcp
`bbcp` is a remote-copy tool that can transfer large files more efficiently than
`scp` or `rsync` when lots of bandwidth is available.

Closes Homebrew/homebrew#7214.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-30 13:57:08 -07:00