misc/154975: typo in source code

看板FB_bugs作者時間15年前 (2011/02/24 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
>Number: 154975 >Category: misc >Synopsis: typo in source code >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 23 15:40:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eduard S. Markelov >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD sirius.local 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Typo in macro definition. File: /usr/include/pthread.h Line: 170 Macro: pthread_cleanup_push(cleanup_routine, cleanup_arg) Description: The macro no have the close brace but end with one more open brace! Code: #define pthread_cleanup_push(cleanup_routine, cleanup_arg) \ { \ struct _pthread_cleanup_info __cleanup_info__; \ __pthread_cleanup_push_imp(cleanup_routine, cleanup_arg, \ &__cleanup_info__); \ { >How-To-Repeat: >Fix: change open brace to close brace: #define pthread_cleanup_push(cleanup_routine, cleanup_arg) \ { \ struct _pthread_cleanup_info __cleanup_info__; \ __pthread_cleanup_push_imp(cleanup_routine, cleanup_arg, \ &__cleanup_info__); \ } >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1DPKjW_c (FB_bugs)
文章代碼(AID): #1DPKjW_c (FB_bugs)