[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2328: minor: couple of lsbcc errors moved to stderr
Mats Wichmann
mats at linuxfoundation.org
Fri Apr 21 15:06:52 UTC 2017
------------------------------------------------------------
revno: 2328
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Fri 2017-04-21 09:06:52 -0600
message:
minor: couple of lsbcc errors moved to stderr
modified:
lsbdev-cc/lsbcc.c
lsbdev-cc/lsbcpp.c
package/Makefile
-------------- next part --------------
=== modified file 'lsbdev-cc/lsbcc.c'
--- a/lsbdev-cc/lsbcc.c 2017-04-19 19:29:22 +0000
+++ b/lsbdev-cc/lsbcc.c 2017-04-21 15:06:52 +0000
@@ -367,7 +367,7 @@
efile->dyns[i].d_un.d_val,
efile->dynhdr->sh_link));
if (lsbcc_debug & DEBUG_LIB_CHANGES) {
- printf("Adding DT_NEEDED lib %s from %s\n",
+ fprintf(stderr, "Adding DT_NEEDED lib %s from %s\n",
libfile, optarg);
}
@@ -1766,7 +1766,7 @@
*/
if ((strcmp(basename(ccname), "lsbcc") == 0) ||
(strcmp(basename(ccname), "lsbc++") == 0)) {
- printf("You can not use %s as your compiler!\n", argv[0]);
+ fprintf(stderr, "You can not use %s as your compiler!\n", argv[0]);
exit(EXIT_FAILURE);
}
=== modified file 'lsbdev-cc/lsbcpp.c'
--- a/lsbdev-cc/lsbcpp.c 2016-12-05 16:34:44 +0000
+++ b/lsbdev-cc/lsbcpp.c 2017-04-21 15:06:52 +0000
@@ -397,7 +397,7 @@
* an innocent freudian typo.
*/
if (strcmp(basename(cppname), "lsbcpp") == 0) {
- printf("You can not use %s as your cpp!\n", argv[0]);
+ fprintf(stderr, "You can not use %s as your cpp!\n", argv[0]);
exit(EXIT_FAILURE);
}
=== modified file 'package/Makefile'
--- a/package/Makefile 2017-04-19 19:29:22 +0000
+++ b/package/Makefile 2017-04-21 15:06:52 +0000
@@ -54,7 +54,7 @@
# We define this here instead of directly in the spec file as
# we need to be able to work out what the produced rpm files will be called
-BUILDNO=2
+BUILDNO=3
# Initialize LIB64 to proper value for 64-bit architectures
export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)
More information about the lsb-messages
mailing list