Diff for /dietlibc/t.c between versions 1.55 and 1.56

version 1.55, 2001/05/09 01:40:36 version 1.56, 2001/05/10 11:48:30
Line 1 Line 1
   #define _GNU_SOURCE
 #define _FILE_OFFSET_BITS 64  #define _FILE_OFFSET_BITS 64
 #include <unistd.h>  #include <unistd.h>
 #include <endian.h>  #include <endian.h>
Line 21 Line 22
 #include <ctype.h>  #include <ctype.h>
 #include <mntent.h>  #include <mntent.h>
 #include <regex.h>  #include <regex.h>
   #include <sys/types.h>
   #include <sys/msg.h>
   
 #if 0  #if 0
 int compint(const void *a,const void *b) {  int compint(const void *a,const void *b) {
Line 46  static int rand() { Line 49  static int rand() {
 extern double atof(const char *c);  extern double atof(const char *c);
   
 int main(int argc,char *argv[]) {  int main(int argc,char *argv[]) {
     struct msgbuf bla;
     bla.mtype=0;
     bla.mtext[0]='x';
     msgsnd(327680,&bla,5,IPC_NOWAIT);
 #if 0  #if 0
   char buf[PATH_MAX];    char buf[PATH_MAX];
   printf("%s\n",realpath("../../incoming/..///.zshrc",buf));    printf("%s\n",realpath("../../incoming/..///.zshrc",buf));
 #endif  #endif
   #if 0
   regex_t t;    regex_t t;
   regcomp(&t,"foo",0);    regcomp(&t,"foo",0);
   printf("%d\n",regexec(&t,"/* built-in 'exec' handler */",0,0,0));    printf("%d\n",regexec(&t,"/* built-in 'exec' handler */",0,0,0));
   #endif
 #if 0  #if 0
   float my_float = 9.2334;    float my_float = 9.2334;
   char buffer[100];    char buffer[100];

Removed from v.1.55  
changed lines
  Added in v.1.56


LinuxTV legacy CVS <linuxtv.org/cvs>