Changeset 309

Show
Ignore:
Timestamp:
08/22/09 07:30:00 (1 year ago)
Author:
solar
Message:

Added remove.c and a teststring for stdio testdrivers.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/stdio_rewrite/Makefile

    r302 r309  
    3030# All files in platform/$(PLATFORM)/functions/stdlib (for development only) 
    3131PATCHFILES2 := $(shell ls platform/$(PLATFORM)/functions/stdlib/*.c) 
     32# All files in platform/$(PLATFORM)/functions/stdio (for development only) 
     33PATCHFILES3 := $(shell ls platform/$(PLATFORM)/functions/stdio/*.c) 
    3234 
    3335WARNINGS := -Wall -Wextra -pedantic -Wno-unused-parameter -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -fno-builtin  
     
    9395        @cd functions/_PDCLIB && for file in $(PATCHFILES1); do basfile=`basename $$file`; if [ ! -f $$basfile ]; then ln -s `ls ../../$$file` .; fi; done 
    9496        @cd functions/stdlib && for file in $(PATCHFILES2); do basfile=`basename $$file`; if [ ! -f $$basfile ]; then ln -s `ls ../../$$file` .; fi; done 
     97        @cd functions/stdio && for file in $(PATCHFILES3); do basfile=`basename $$file`; if [ ! -f $$basfile ]; then ln -s `ls ../../$$file` .; fi; done 
    9598 
    9699unlink: 
     
    100103        @cd functions/_PDCLIB && for file in $(PATCHFILES1); do basfile=`basename $$file`; if [ -f $$basfile ]; then rm $$basfile; fi; done 
    101104        @cd functions/stdlib && for file in $(PATCHFILES2); do basfile=`basename $$file`; if [ -f $$basfile ]; then rm $$basfile; fi; done 
     105        @cd functions/stdio && for file in $(PATCHFILES3); do basfile=`basename $$file`; if [ -f $$basfile ]; then rm $$basfile; fi; done 
    102106 
    103107help: 
  • branches/stdio_rewrite/functions/stdio

    • Property svn:ignore changed from
      *.d
      *.t
      *.r
      system.c
      getenv.c

      to
      *.d
      *.t
      *.r
      remove.c
  • branches/stdio_rewrite/includes/stdio.h

    r301 r309  
    6565int fgetc( FILE * stream ); 
    6666 
     67int remove( const char * pathname ); 
     68 
    6769#endif 
    6870 
  • branches/stdio_rewrite/internals/_PDCLIB_test.h

    r303 r309  
    1515char const abcde[] = "abcde"; 
    1616char const abcdx[] = "abcdx"; 
     17char const * teststring = "1234567890\nABCDEFGHIJKLMNOPQRSTUVWXYZ\nabcdefghijklmnopqrstuvwxyz\n"; 
    1718 
    1819int NO_TESTDRIVER = 0; 
     
    3031 
    3132#define TEST_RESULTS  rc 
     33