Skip to contentSkip to conversation

pthread_detach/4-3: Fix typo

PATCH In review Kang Kai 2 participants 2 messages Aug 21, 2012

lore
Share & tools
lore

Kang Kai

author
#0 lore raw

PATCH 1/1 pthread_detach/4-3: Fix typo

Fix typo.

---
 .../conformance/interfaces/pthread_detach/4-3.c    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/4-3.c +1 -1
index 5c15e93..dfa6e19 100644
@@ -281,7 +281,7 @@ int main(int argc, char *argv[])
 
 	do {
 		do_it2 = 0;
-	} while (do_it2 = 0);
+	} while (do_it2);
 
 	ret = pthread_join(th_sig1, NULL);
 	if (ret)
Signature · 13 lines
1.7.5.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 3 lines · Kang Kai

Fix typo.

Pushed, thank you.

Wanlong Gao

Quoted 10 lines
---
 .../conformance/interfaces/pthread_detach/4-3.c    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/4-3.c +0 -0
index 5c15e93..dfa6e19 100644

testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/4-3.c int main(int argc, char *argv[]) · line 287

Quoted 8 lines
testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/4-3.c +1 -1
@@ -281,7 +281,7 @@ int main(int argc, char *argv[])
 
 	do {
 		do_it2 = 0;
-	} while (do_it2 = 0);
+	} while (do_it2);
 
 	ret = pthread_join(th_sig1, NULL);
 	if (ret)

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list