Displaying 7 results from an estimated 7 matches for "poptstrerror".
2004 May 02
0
rsync 2.6.2: clean up compilation warnings
...Jeremy
diff -uwr rsync-2.6.2-old/popt/popt.c rsync-2.6.2/popt/popt.c
--- rsync-2.6.2-old/popt/popt.c 2004-01-27 10:27:05.000000000 -0600
+++ rsync-2.6.2/popt/popt.c 2004-05-02 13:22:53.000000000 -0500
@@ -1128,7 +1128,7 @@
/*@=nullderef@*/
}
-const char *const poptStrerror(const int error)
+const char * poptStrerror(const int error)
{
switch (error) {
case POPT_ERROR_NOARG:
diff -uwr rsync-2.6.2-old/popt/popt.h rsync-2.6.2/popt/popt.h
--- rsync-2.6.2-old/popt/popt.h 2004-01-27 10:27:05.000000000 -0600
+++ rsync-2.6.2/popt/popt.h 2004-05-02 13:23:01.00000...
2002 Mar 28
1
(no subject)
...hich is noted for its excellent
diagnostics, had these additional comments:
c89 -mips3 -O2 -I. -I. -g -DHAVE_CONFIG_H -I./popt -c options.c -o options.o
cc-3303 c89: WARNING File = ./popt/popt.h, Line = 117
A type qualifier on a return type is meaningless.
/*@observer@*/ const char *const poptStrerror(const int error);
c89 -mips3 -O2 -I. -I. -g -DHAVE_CONFIG_H -I./popt -c lib/getaddrinfo.c -o lib/getaddrinfo.o
cc-1174 c89: WARNING File = lib/getaddrinfo.c, Line = 67
The variable "in6_addrany" was declared but never referenced.
static const char in6_addrany[] = {
^
cc-...
2002 Jan 07
2
rsync-2.5.1 / popt patches
...C also contained a conditional expression testing if the unsigned
variable "argx" is greater than 0. Since this value can never be less
than 0, a more appropriate test is to check if the value is non-zero.
[Lint type diagnostic]
POPT.H, POPT.C have an error with the definition of the poptStrerror
routine.
POPTHELP.C has an error with the definitions of the
getTableTranslationDomain() and getArgDescrip() routines.
Having a const qualifier on function return value is not legal.
It is legal to return a const pointer.
EAGLE> type lcl_popt:system_h.gdiff
--- ref_popt:system.h Fri Fe...
2004 Apr 10
0
patches for copying atimes
...ls_usage();
+ return 0;
+ default :
+ snprintf(err_buf, sizeof err_buf,
+ "%s: %s\n",
+ poptBadOption(pc, POPT_BADOPTION_NOALIAS),
+ poptStrerror(opt));
return 1;
}
-
- for (argv++; *argv; argv++) {
- list_file (*argv);
}
+ extra_args = poptGetArgs(pc);
+ if (*extra_args == NULL) {
+ tls_usage();
+ return 1;
+ }
+ for (; *extra_args; extra_args++) {
+ list_fil...
2004 Apr 20
1
improved atime patch
...ls_usage();
+ return 0;
+ default :
+ snprintf(err_buf, sizeof err_buf,
+ "%s: %s\n",
+ poptBadOption(pc, POPT_BADOPTION_NOALIAS),
+ poptStrerror(opt));
return 1;
}
-
- for (argv++; *argv; argv++) {
- list_file (*argv);
}
+ extra_args = poptGetArgs(pc);
+ if (*extra_args == NULL) {
+ tls_usage();
+ return 1;
+ }
+ for (; *extra_args; extra_args++) {
+ list_fil...
2009 Apr 26
4
1.6.1: menuselect has problems with x86_64 ??
1.6.1 svn 190575:
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect
CONFIGURE_SILENT="--silent" menuselect
make[1]: Entering directory
`/home/asterisk/rpmbuild/BUILD/asterisk-1.6.1/menuselect'
gcc -m64 -march=native -mtune=native -floop-interchange
-floop-strip-mine -floop-block -c -o
2007 Sep 22
0
rsync build on IA64 using icc
...ilter_list;
^
options.c(30): remark #1419: external declaration in primary source file
extern struct filter_list_struct server_filter_list;
^
options.c(862): remark #981: operands are evaluated in unspecified order
poptStrerror(opt));
^
options.c(859): remark #981: operands are evaluated in unspecified order
rprintf(FERROR,
^
options.c(1102): remark #981: operands are evaluated in unspecified order
poptStrerror(opt));
^
options.c(1099): remark #981: operands are evaluated in unspe...