Cannot apply delete-sent-files.diff on solaris platform

Saunders, Shawn SSaunders at
Mon Oct 18 18:11:34 GMT 2004


Thank you soo much! That last suggestion replacing the proto.h file with the
one from a successful build on another box worked great!!!!

Now can you point me to some good sources to learn more about the inner
workings of rsync. This will be for someone who hasn't coded for about 5
yrs. Though my interest is picked again.

Shawn Saunders
-----Original Message-----
From: Wayne Davison [mailto:wayned at] 
Sent: Monday, October 18, 2004 10:22 AM
To: Saunders, Shawn
Cc: 'Rsync (rsync at'
Subject: Re: Cannot apply delete-sent-files.diff on solaris platform

On Mon, Oct 18, 2004 at 08:02:58AM -0700, Saunders, Shawn wrote:
> cat ./*.c ./lib/compat.c | awk -f ./mkproto.awk >./
> awk: syntax error near line 12

This is your awk complaining.  You could try running that command using
nawk or gawk (gawk will definitely work), but (if you don't have gawk)
the fastest kluge is probably to just add the new function prototype
manually to proto.h.  It is this:

void successful_send(int i);

Alternately, since you say you built this on other machines, you should
be able to just copy the updated proto.h file from one of your Linux
boxes (and, of course, skip the "make proto" step).


IMPORTANT WARNING:  This email (and any attachments) is only intended for the use of the person or entity to which it is addressed, and may contain information that is privileged and confidential.  You, the recipient, are obligated to maintain it in a safe, secure and confidential manner.  Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the intended recipient, please immediately notify us by return email, and delete this message from your computer.

More information about the rsync mailing list