https://bugzilla.samba.org/show_bug.cgi?id=8294 Summary: lib/snprintf.c compile fix Product: rsync Version: 3.1.0 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: chris at onthe.net.au QAContact: rsync-qa at samba.org Created attachment 6674 --> https://bugzilla.samba.org/attachment.cgi?id=6674 lib/snprintf.c compile fix On my Ubuntu system, lib/snprintf.c (as of 425747c) doesn't compile due to a missing NULL definition, and also for an out-of-tree build, it can't find "../config.h". The attached patch fixes both issues. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=8294 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Wayne Davison <wayned at samba.org> 2011-08-01 06:36:11 UTC --- I added an include of stddef.h for those systems where the other header files didn't define NULL (which they often do by including stddef.h). I don't want the file to include rsync.h, though, so I just tweaked the config.h include. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Apparently Analagous Threads
- [Bug 8266] New: fileflags.diff compile fix
- [Bug 8267] New: hfs-compression.diff compile fix
- [Bug 11229] New: off-by-one in snprintf() check
- [Bug 8655] New: link-by-hash: add 'link by hash dir' to rsyncd.conf
- [Bug 8659] New: link-by-hash.diff: Fix error when running without --link-by-hash