Improve fgets() fix to 1992/lush
gets() is now defined as the right fgets() call. This required the use of #line 1 as the entry uses compiler messages to work right. That's also why clang will not work with this entry.
This commit is contained in:
1 parent
2173be58f2
commit
aedc966d6d
2 files changed
+9
-2
No files matched your search
+4
-2
@@ -1,3 +1,5 @@
|
||||
#define gets(_) fgets((_),999,stdin)
|
||||
#line 1
|
||||
#define f 000:
|
||||
char
|
||||
*s,*
|
||||
@@ -63,8 +65,8 @@
|
||||
;;;}
|
||||
;for
|
||||
( ;
|
||||
fgets
|
||||
(_,999,stdin);
|
||||
gets
|
||||
(_);
|
||||
) {
|
||||
for(
|
||||
#define f 301:
|
||||
|
||||
Reference in new issue
Block a user