[112419] branches/release_2_2
jmr at macports.org
jmr at macports.org
Tue Oct 22 06:29:42 PDT 2013
Revision: 112419
https://trac.macports.org/changeset/112419
Author: jmr at macports.org
Date: 2013-10-22 06:29:42 -0700 (Tue, 22 Oct 2013)
Log Message:
-----------
merge r111377 from trunk:
fix warnings
Revision Links:
--------------
https://trac.macports.org/changeset/111377
Modified Paths:
--------------
branches/release_2_2/base/src/pextlib1.0/system.c
Property Changed:
----------------
branches/release_2_2/
branches/release_2_2/base/
Property changes on: branches/release_2_2
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk:107106,107465,107527,107674,107753,108406,109869,110985,111254
+ /trunk:107106,107465,107527,107674,107753,108406,109869,110985,111254,111377
Property changes on: branches/release_2_2/base
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/gsoc08-privileges/base:37343-46937
/branches/gsoc09-logging/base:51231-60371
/branches/gsoc11-rev-upgrade/base:78828-88375
/branches/universal-sanity/base:51872-52323
/branches/variant-descs-14482/base:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base:106802,106807,106809-106810,107106,107465,107527,107674,107753,108406,109869,110985,111254
/users/perry/base-bugs_and_notes:45682-46060
/users/perry/base-select:44044-44692
+ /branches/gsoc08-privileges/base:37343-46937
/branches/gsoc09-logging/base:51231-60371
/branches/gsoc11-rev-upgrade/base:78828-88375
/branches/universal-sanity/base:51872-52323
/branches/variant-descs-14482/base:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base:106802,106807,106809-106810,107106,107465,107527,107674,107753,108406,109869,110985,111254,111377
/users/perry/base-bugs_and_notes:45682-46060
/users/perry/base-select:44044-44692
Modified: branches/release_2_2/base/src/pextlib1.0/system.c
===================================================================
--- branches/release_2_2/base/src/pextlib1.0/system.c 2013-10-22 13:23:02 UTC (rev 112418)
+++ branches/release_2_2/base/src/pextlib1.0/system.c 2013-10-22 13:29:42 UTC (rev 112419)
@@ -173,7 +173,7 @@
case -1: /* error */
Tcl_SetResult(interp, strerror(errno), TCL_STATIC);
return TCL_ERROR;
- break;
+ /*NOTREACHED*/
case 0: /* child */
close(fdset[0]);
@@ -189,7 +189,7 @@
}
/* change scheduling priority if requested */
if (oniceval != INT_MAX) {
- if (setpriority(PRIO_PROCESS, getpid(), oniceval) != 0) {
+ if (setpriority(PRIO_PROCESS, (id_t)getpid(), oniceval) != 0) {
/* ignore failure, just continue */
}
}
@@ -226,7 +226,7 @@
execve("/bin/sh", args, environ);
}
_exit(1);
- break;
+ /*NOTREACHED*/
default: /* parent */
break;
}
@@ -241,7 +241,7 @@
if (pdes) {
while ((buf = fgetln(pdes, &linelen)) != NULL) {
char *sbuf;
- int slen;
+ size_t slen;
/*
* Allocate enough space to insert a terminating
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131022/5710a06c/attachment.html>
More information about the macports-changes
mailing list