"Untitled Post" - Views: 1,453 · Hits: 1,453 - Type: Unlisted

diff -c src/act_comm.c /home/pi/smaugfuss19/src/act_comm.c
*** src/act_comm.c	2012-11-16 19:48:12.917841639 -0500
--- /home/pi/smaugfuss19/src/act_comm.c	2012-11-16 19:35:46.921770254 -0500
***************
*** 1867,1873 ****
  
     if( ( rpfile = fopen( RIPSCREEN_FILE, "r" ) ) != NULL )
     {
!       while( ( BUFF[num] = fgetc( rpfile ) ) != EOF )
           num++;
        fclose( rpfile );
        BUFF[num] = 0;
--- 1867,1873 ----
  
     if( ( rpfile = fopen( RIPSCREEN_FILE, "r" ) ) != NULL )
     {
!       while( ( BUFF[num] = fgetc( rpfile ) ) != (char) EOF )
           num++;
        fclose( rpfile );
        BUFF[num] = 0;
***************
*** 1883,1889 ****
  
     if( ( rpfile = fopen( RIPTITLE_FILE, "r" ) ) != NULL )
     {
!       while( ( BUFF[num] = fgetc( rpfile ) ) != EOF )
           num++;
        fclose( rpfile );
        BUFF[num] = 0;
--- 1883,1889 ----
  
     if( ( rpfile = fopen( RIPTITLE_FILE, "r" ) ) != NULL )
     {
!       while( ( BUFF[num] = fgetc( rpfile ) ) != (char) EOF )
           num++;
        fclose( rpfile );
        BUFF[num] = 0;
***************
*** 1899,1905 ****
  
     if( ( rpfile = fopen( ANSITITLE_FILE, "r" ) ) != NULL )
     {
!       while( ( BUFF[num] = fgetc( rpfile ) ) != EOF )
           num++;
        fclose( rpfile );
        BUFF[num] = 0;
--- 1899,1905 ----
  
     if( ( rpfile = fopen( ANSITITLE_FILE, "r" ) ) != NULL )
     {
!       while( ( BUFF[num] = fgetc( rpfile ) ) != (char) EOF )
           num++;
        fclose( rpfile );
        BUFF[num] = 0;
***************
*** 1915,1921 ****
  
     if( ( rpfile = fopen( ASCTITLE_FILE, "r" ) ) != NULL )
     {
!       while( ( BUFF[num] = fgetc( rpfile ) ) != EOF )
           num++;
        fclose( rpfile );
        BUFF[num] = 0;
--- 1915,1921 ----
  
     if( ( rpfile = fopen( ASCTITLE_FILE, "r" ) ) != NULL )
     {
!       while( ( BUFF[num] = fgetc( rpfile ) ) != (char) EOF )
           num++;
        fclose( rpfile );
        BUFF[num] = 0;
diff -c src/db.c /home/pi/smaugfuss19/src/db.c
*** src/db.c	2012-11-16 19:48:15.097869391 -0500
--- /home/pi/smaugfuss19/src/db.c	2012-11-16 19:35:47.851760733 -0500
***************
*** 3398,3404 ****
              ln++;
              break;
  
!          case EOF:
              bug( "%s: EOF", __FUNCTION__ );
              if( fBootDb )
                 exit( 1 );
--- 3398,3404 ----
              ln++;
              break;
  
!          case (unsigned char) EOF:
              bug( "%s: EOF", __FUNCTION__ );
              if( fBootDb )
                 exit( 1 );
***************
*** 3472,3478 ****
              ln++;
              break;
  
!          case EOF:
              bug( "Fread_string: EOF" );
              if( fBootDb )
                 exit( 1 );
--- 3472,3478 ----
              ln++;
              break;
  
!          case (unsigned char) EOF:
              bug( "Fread_string: EOF" );
              if( fBootDb )
                 exit( 1 );
***************
*** 3546,3552 ****
              ln++;
              break;
  
!          case EOF:
              bug( "Fread_string_no_hash: EOF" );
              if( fBootDb )
                 exit( 1 );
--- 3546,3552 ----
              ln++;
              break;
  
!          case (unsigned char) EOF:
              bug( "Fread_string_no_hash: EOF" );
              if( fBootDb )
                 exit( 1 );
Only in /home/pi/smaugfuss19/src/: dependencies.d
Only in /home/pi/smaugfuss19/src/: diff.txt
diff -c src/hashstr.c /home/pi/smaugfuss19/src/hashstr.c
*** src/hashstr.c	2012-11-16 19:48:15.747877714 -0500
--- /home/pi/smaugfuss19/src/hashstr.c	2012-11-16 19:35:48.141757765 -0500
***************
*** 33,39 ****
  
  #define STR_HASH_SIZE	1024
  
! struct hashstr_data
  {
     struct hashstr_data *next; /* next hash element */
     unsigned short int links;  /* number of links to this string */
--- 33,39 ----
  
  #define STR_HASH_SIZE	1024
  
! struct __attribute__((packed)) hashstr_data 
  {
     struct hashstr_data *next; /* next hash element */
     unsigned short int links;  /* number of links to this string */
diff -c src/Makefile /home/pi/smaugfuss19/src/Makefile
*** src/Makefile	2012-11-16 19:48:18.577914178 -0500
--- /home/pi/smaugfuss19/src/Makefile	2012-11-16 19:35:48.591753157 -0500
***************
*** 18,24 ****
  #IMC2 - Comment out to disable IMC2 support
  IMC = 1
  
! W_FLAGS = -Wall -Werror -Wshadow -Wformat-security -Wpointer-arith -Wcast-align -Wredundant-decls
  
  C_FLAGS = -g2 $(W_FLAGS) $(SOLARIS_FLAG) $(PROF) $(EXPORT_SYMBOLS)
  L_FLAGS = $(PROF) $(SOLARIS_LINK) -lz $(NEED_DL)
--- 18,24 ----
  #IMC2 - Comment out to disable IMC2 support
  IMC = 1
  
! W_FLAGS = -Wall -Wshadow -Wformat-security -Wpointer-arith -Wcast-align -Wredundant-decls -Wno-unused-but-set-variable
  
  C_FLAGS = -g2 $(W_FLAGS) $(SOLARIS_FLAG) $(PROF) $(EXPORT_SYMBOLS)
  L_FLAGS = $(PROF) $(SOLARIS_LINK) -lz $(NEED_DL)
Common subdirectories: src/o and /home/pi/smaugfuss19/src/o
Only in /home/pi/smaugfuss19/src/: resolver
Only in /home/pi/smaugfuss19/src/: resolver.o
Only in /home/pi/smaugfuss19/src/: smaug