change log for rtems (2011-10-18)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Oct 18 10:12:17 UTC 2011


 *ralf*:
2011-10-18	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libmisc/shell/fts.c: Conditionally use var "nostat".

M 1.2955  cpukit/ChangeLog
M   1.13  cpukit/libmisc/shell/fts.c

diff -u rtems/cpukit/ChangeLog:1.2954 rtems/cpukit/ChangeLog:1.2955
--- rtems/cpukit/ChangeLog:1.2954	Tue Oct 18 04:04:36 2011
+++ rtems/cpukit/ChangeLog	Tue Oct 18 04:21:31 2011
@@ -1,5 +1,6 @@
 2011-10-18	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libmisc/shell/fts.c: Conditionally use var "nostat".
 	* pppd/options.c: Remove unused var "ok".
 	* libnetworking/rtems/rtems_dhcp.c: Remove unused var
 	"disconnected".

diff -u rtems/cpukit/libmisc/shell/fts.c:1.12 rtems/cpukit/libmisc/shell/fts.c:1.13
--- rtems/cpukit/libmisc/shell/fts.c:1.12	Sat May 29 00:17:11 2010
+++ rtems/cpukit/libmisc/shell/fts.c	Tue Oct 18 04:21:32 2011
@@ -643,7 +643,11 @@
 	DIR *dirp;
 	void *oldaddr;
 	size_t dnamlen;
-	int cderrno, descend, level, nlinks, saved_errno, nostat, doadjust;
+	int cderrno, descend, level, nlinks, saved_errno;
+#ifdef DT_DIR
+	int nostat;
+#endif
+	int doadjust;
 	size_t len, maxlen;
 #ifdef FTS_WHITEOUT
 	int oflag;
@@ -682,13 +686,19 @@
 	 */
 	if (type == BNAMES) {
 		nlinks = 0;
+#ifdef DT_DIR
 		nostat = 1;
+#endif
 	} else if (ISSET(FTS_NOSTAT) && ISSET(FTS_PHYSICAL)) {
 		nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2);
+#ifdef DT_DIR
 		nostat = 1;
+#endif
 	} else {
 		nlinks = -1;
+#ifdef DT_DIR
 		nostat = 0;
+#endif
 	}
 
 #ifdef notdef


 *ralf*:
2011-10-18	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libfs/src/pipe/fifo.c: Conditionally use var "sc".

M 1.2956  cpukit/ChangeLog
M   1.13  cpukit/libfs/src/pipe/fifo.c

diff -u rtems/cpukit/ChangeLog:1.2955 rtems/cpukit/ChangeLog:1.2956
--- rtems/cpukit/ChangeLog:1.2955	Tue Oct 18 04:21:31 2011
+++ rtems/cpukit/ChangeLog	Tue Oct 18 04:35:17 2011
@@ -1,5 +1,6 @@
 2011-10-18	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libfs/src/pipe/fifo.c: Conditionally use var "sc".
 	* libmisc/shell/fts.c: Conditionally use var "nostat".
 	* pppd/options.c: Remove unused var "ok".
 	* libnetworking/rtems/rtems_dhcp.c: Remove unused var

diff -u rtems/cpukit/libfs/src/pipe/fifo.c:1.12 rtems/cpukit/libfs/src/pipe/fifo.c:1.13
--- rtems/cpukit/libfs/src/pipe/fifo.c:1.12	Fri Apr 15 06:13:21 2011
+++ rtems/cpukit/libfs/src/pipe/fifo.c	Tue Oct 18 04:35:17 2011
@@ -187,9 +187,12 @@
 
 static void pipe_unlock(void)
 {
+#ifdef RTEMS_DEBUG
   rtems_status_code sc = RTEMS_SUCCESSFUL;
 
-  sc = rtems_semaphore_release(pipe_semaphore);
+  sc =
+#endif
+   rtems_semaphore_release(pipe_semaphore);
   #ifdef RTEMS_DEBUG
     if (sc != RTEMS_SUCCESSFUL) {
       rtems_fatal_error_occurred(0xdeadbeef);



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111018/d501176a/attachment-0001.html>


More information about the vc mailing list