2 ===================================================================
3 --- inotify01.c (revision 127)
4 +++ inotify01.c (working copy)
7 int event_set[EVENT_MAX];
9 +char event_buf[EVENT_BUF_LEN];
11 static long myinotify_init()
13 return syscall(__NR_inotify_init);
18 - char event_buf[EVENT_BUF_LEN];
19 int len, i = 0, test_num = 0;
20 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) {
21 tst_brkm(TBROK, cleanup,
23 ===================================================================
24 --- inotify02.c (revision 127)
25 +++ inotify02.c (working copy)
28 struct event_t event_set [EVENT_MAX];
30 +char event_buf[EVENT_BUF_LEN];
32 static long myinotify_init()
34 return syscall(__NR_inotify_init);
40 - char event_buf[EVENT_BUF_LEN];
41 int len, i = 0, test_num = 0;
42 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) {
43 tst_brkm(TBROK, cleanup,