Changeset 745 for trunk/server/source3/smbd/notify_inotify.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/smbd/notify_inotify.c
r414 r745 23 23 24 24 #include "includes.h" 25 #include "../librpc/gen_ndr/notify.h" 26 #include "smbd/smbd.h" 25 27 26 28 #ifdef HAVE_INOTIFY … … 247 249 } 248 250 249 e0 = e = (struct inotify_event *)TALLOC_SIZE(in, bufsize );251 e0 = e = (struct inotify_event *)TALLOC_SIZE(in, bufsize + 1); 250 252 if (e == NULL) return; 253 ((uint8_t *)e)[bufsize] = '\0'; 251 254 252 255 status = read_data(in->fd, (char *)e0, bufsize);
Note:
See TracChangeset
for help on using the changeset viewer.