site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=wOItKoVLwz+YY7HvR1CO7LaCWx2O34+cPpU6pUwsk+1w2XhZ9DEvDqz0L/wvuehOvmOk87OfPyd+arnL5tIT/2MTNbQ7Oh5QvkMrH8Bn3/pz9tmGMNsmEAhMxPDQ9dlG7E+EuW2dDNPZl8Q90SSA6dEtKMDvRTO7f8rH9pAUzVI= ; User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031) if (chdir(auto_qmail) == -1) _exit(61); execv(*binqqargs,binqqargs); _exit(120); binqqargs is defined as: static char *binqqargs[2] = { 0, 0 } ; Later it is set as: binqqargs[0] = "bin/qmail-queue"; auto_qmail contains the path /var/qmail It works perfectly on Tiger, freeBSD, you name it. If I change binqqargs to /var/qmail/bin/qmail-queue, all works fine. Steve _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Have a well known program, qmail, compiled on Leopard. We've used it for 3 years or so on Mac Tiger et al. qmail runs on most any platform out there. In the code, are the following lines: So, the chdir on all other platforms goes to /var/qmail, and, the execv executes from there bin/qmail-queue. The execv (added more code) returns an error 2, or, file not found on Leopard. Could it be a bug in execv on Leoprd when when not using a absolute filename? If so, what is the mechanism to report and hopefully some day get it fixed? This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve