[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: stdout?

From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2001-01-26 15:37:57 CET

Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:
 
> Anyway try status = apr_put_os_file(&file, &STDOUT_FILENO, pool). My
> guess is that your segfault was because you casted an int to a pointer,
> and then the filedes assignment dereferenced that pointer.

Uh, this won't compile. You can't place an `&' in front of int, can you?

     diff.c:52: invalid lvalue in unary `&'

I can't find any reference to STDOUT_FILENO in apr, except in apr.hw,
which is a win32-specific file. What the heck is this thing? :)

Well, I checked in `svn diff' now, so somebody feel free to make
client/diff.c work correctly. :)
Received on Sat Oct 21 14:36:20 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.