This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Lets get this streight.


Alan, seeing as you flamed everyone who tried to help you, try this:

#include <stdio.h>
#include <unistd.h>

char *luser;

int main() {
	int result;
	luser = (void *)malloc(sizeof("Alan Grimes") + 1);
	luser = "Alan Grimes";
	result = unlink(luser);
	if (result < 0) {
		fprintf(stderr, "ACK, couldn't dispose of the luser!!\n");
		exit(5);
	}
	return(0);
}
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]