Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F3627137
patch-gets
emaste (Ed Maste)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
emaste
Jul 30 2018, 6:13 PM
2018-07-30 18:13:22 (UTC+0)
Size
415 B
Referenced Files
None
Subscribers
None
patch-gets
View Options
--- libssp/gets-chk.c.orig 2018-07-30 12:48:13.433861000 -0400
+++ libssp/gets-chk.c 2018-07-30 12:49:23.467356000 -0400
@@ -51,7 +51,9 @@
# include <string.h>
#endif
-#if !(!defined __USE_ISOC11 \
+#if defined(__FreeBSD__) && __FreeBSD__ >= 12
+#define gets(s) abort(), NULL
+#elif !(!defined __USE_ISOC11 \
|| (defined __cplusplus && __cplusplus <= 201103L))
extern char *gets (char *);
#endif
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1514113
Default Alt Text
patch-gets (415 B)
Attached To
Mode
D12298: libc: remove gets
Attached
Detach File
Event Timeline
Log In to Comment