Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx /*  Copyright 1994,1995  Patrick Volkerding, Moorhead, Minnesota USA
     5         kx     All rights reserved.
     5         kx 
     5         kx  Redistribution and use of this source code, with or without modification, is
     5         kx  permitted provided that the following condition is met:
     5         kx 
     5         kx  1. Redistributions of this source code must retain the above copyright
     5         kx     notice, this condition, and the following disclaimer.
     5         kx 
     5         kx   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
     5         kx   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
     5         kx   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
     5         kx   EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     5         kx   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     5         kx   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
     5         kx   OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     5         kx   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
     5         kx   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
     5         kx   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     5         kx */
     5         kx 
     5         kx #include <stdlib.h>
     5         kx #include <stdio.h>
     5         kx 
     5         kx int main( int argc, char **argv ) {
     5         kx  	int c;
     5         kx 	if (argc > 1) {
     5         kx 	        c = *argv[1];
     5         kx 		if (c == '-') {
     5         kx 			printf("Usage: fromdos < dostextfile > unixtextfile\n");
     5         kx 			exit(1);
     5         kx 		} 
     5         kx 	}
     5         kx 	c = getchar();
     5         kx 	while (c != EOF) {
     5         kx 		/* Eat any \r's... they shouldn't be here */
     5         kx 		while (c == '\r') c = getchar();
     5         kx 		if (c == EOF) break;
     5         kx                 putchar(c);
     5         kx                 c = getchar();
     5         kx 	} 
     5         kx 	return 0;
     5         kx }