[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#196303: fix for #196303



tags 196303 + patch
thanks

Hi, to whoever wants to do a QA upload of this, is a patch that fixes 
the compile and a few warnings using gcc-3.3.

Regards
Josh
diff -ur sted2-2.07m+20021104/sted2/sayleen/rcpconv.h tmp/sted2-2.07m+20021104/sted2/sayleen/rcpconv.h
--- sted2-2.07m+20021104/sted2/sayleen/rcpconv.h	2002-10-16 07:23:23.000000000 -0700
+++ tmp/sted2-2.07m+20021104/sted2/sayleen/rcpconv.h	2003-06-05 20:31:24.000000000 -0700
@@ -44,4 +44,4 @@
 		     unsigned char *   /* Timestamp of original RCP file */
 		     );
 
-#endif / _RCPCONV_H_ */
+#endif /* _RCPCONV_H_ */
diff -ur sted2-2.07m+20021104/sted2/sayleen/rcptomid.c tmp/sted2-2.07m+20021104/sted2/sayleen/rcptomid.c
--- sted2-2.07m+20021104/sted2/sayleen/rcptomid.c	2002-10-16 07:24:14.000000000 -0700
+++ tmp/sted2-2.07m+20021104/sted2/sayleen/rcptomid.c	2003-06-05 20:30:56.000000000 -0700
@@ -834,8 +834,8 @@
   if ( rcp->enable_converter_notice == FLAG_TRUE ) {
     int *len;
 
-    sprintf( buf,"
-This file was converted by %s version %s (%s - %s).
+    sprintf( buf,"\n\
+This file was converted by %s version %s (%s - %s).\n\
 Original RCP file is \"%s\" (%s, %d bytes).",
 	     (rcp->command_name!=NULL)?rcp->command_name:rcptomid_name,
 	     VERSION_ID, VERSION_TEXT1, VERSION_TEXT2,
diff -ur sted2-2.07m+20021104/sted2/select.c tmp/sted2-2.07m+20021104/sted2/select.c
--- sted2-2.07m+20021104/sted2/select.c	2000-03-28 22:41:36.000000000 -0800
+++ tmp/sted2-2.07m+20021104/sted2/select.c	2003-06-05 20:32:31.000000000 -0700
@@ -1046,7 +1046,7 @@
     B_LOCATE(cx+1,29);B_PRINT(_("  /   CHANGE DRIVE   /  SELECT"));
 #else
     B_LOCATE(cx+1,29);B_PRINT(_("                                      [RET]SELECT"));
-#endif 0
+#endif
     frees(pth,cx);B_LOCATE(cx+45,8);B_PRINT(fstr(nm,3));
 
     if(p+y>=nm){p=0;y=0;}/*check*/
@@ -1128,7 +1128,7 @@
 	  if(dro!=drn && drvchk2(fna)<0){nm=0;goto redrv;}
 	  nm=0;goto drvmove;
 	}
-#endif 0
+#endif
 	if( a==0x15 || a==0x8 ){
 	  path_down(pth);
 	  if(cdirc>0){cdirc--;p=cdirp[cdirc];y=cdiry[cdirc];goto resel2;}

Attachment: pgpTsOXJ9Mpxs.pgp
Description: PGP signature


Reply to: