This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Port of DHCP
- To: Jorge Goncalvez <goncal11 at col dot bsf dot alcatel dot fr>
- Subject: Re: Port of DHCP
- From: Robert Collins <robert dot collins at itdomain dot com dot au>
- Date: 25 Jul 2001 08:27:17 +1000
- Cc: cygwin at sources dot redhat dot com
- References: <200107241403.QAA01196@cabs40.col.bsf.alcatel.fr>
On 24 Jul 2001 16:03:18 +0200, Jorge Goncalvez wrote:
> Hi, I made a port of DHCP under cygwin in windows 98 but When I launch the dhcpd
> server i ve got a permission error:
> actually:
>
> /* Move in the new file... */
> if (rename (newfname, path_dhcpd_db) < 0)
> error ("Can't install new lease database %s to %s: %m",
> newfname, path_dhcpd_db);
>
> counting = 1;
> }
>
> The last block (after "Move in the new file") always returns a -1 and
> the errno is EACCES.
>
>
> newfname is open (db_fd). Windows don't let me rename an
> open file in general.so
> How can i get rid of this?
Alter your program to no longer try to renae open files.
Rob
>
> Thanks.
>
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/