Movatterモバイル変換


[0]ホーム

URL:


This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav:[Date Prev] [Date Next][Thread Prev] [Thread Next]
Other format:[Raw text]

Re: [PATCH] manual: Update alloca and variable length array documentation


Thanks, this looks good, with one quibble:
+Compared to @code{malloc}, variable length arrays share the same+advantages and disadvantages as @code{alloca}.  In particular, there is+no error checking (and security vulnerabilities can result from large+allocation requests), and some @nongnusystems{} do not support variable+length arrays because they only support earlier versions of ISO C which+do not include variable length arrays.
The last 2 lines are obsolete. Although C99 required VLAs, a standardC11 implementation that defines __STDC_NO_VLA__ need not support VLAs. Isuggest removing " because they only support earlier versions of ISO Cwhich do not include variable length arrays".

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav:[Date Prev] [Date Next][Thread Prev] [Thread Next]

[8]ページ先頭

©2009-2026 Movatter.jp