mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	[iso] re-fix support for Arch Linux
* Can't these guys just use Joliet like everyone else? * Closes #90 (again!)
This commit is contained in:
		
							parent
							
								
									325c383f92
								
							
						
					
					
						commit
						97576d79cb
					
				
					 2 changed files with 13 additions and 8 deletions
				
			
		
							
								
								
									
										11
									
								
								src/iso.c
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								src/iso.c
									
										
									
									
									
								
							|  | @ -306,11 +306,16 @@ static int iso_extract_files(iso9660_t* p_iso, const char *psz_path) | |||
| 	_CDIO_LIST_FOREACH(p_entnode, p_entlist) { | ||||
| 		if (FormatStatus) goto out; | ||||
| 		p_statbuf = (iso9660_stat_t*) _cdio_list_node_data(p_entnode); | ||||
| 		/* Eliminate . and .. entries */ | ||||
| 		// Eliminate . and .. entries
 | ||||
| 		if ( (strcmp(p_statbuf->filename, ".") == 0) | ||||
| 			|| (strcmp(p_statbuf->filename, "..") == 0) ) | ||||
| 			continue; | ||||
| 		iso9660_name_translate_ext(p_statbuf->filename, psz_basename, i_joliet_level); | ||||
| 		// Rock Ridge requires an exception (Can't people just use Joliet?)
 | ||||
| 		if (p_statbuf->rr.b3_rock != yep) { | ||||
| 			iso9660_name_translate_ext(p_statbuf->filename, psz_basename, i_joliet_level); | ||||
| 		} else { | ||||
| 			safe_strcpy(psz_basename, sizeof(psz_fullpath)-i_length-1, p_statbuf->filename); | ||||
| 		} | ||||
| 		if (p_statbuf->type == _STAT_DIR) { | ||||
| 			if (!scan_only) _mkdirU(psz_fullpath); | ||||
| 			if (iso_extract_files(p_iso, psz_iso_name)) | ||||
|  | @ -455,8 +460,8 @@ try_iso: | |||
| 		uprintf("Unable to open image '%s'.\n", src_iso); | ||||
| 		goto out; | ||||
| 	} | ||||
| 	i_joliet_level = iso9660_ifs_get_joliet_level(p_iso); | ||||
| 	uprintf("Disc image is an ISO9660 image\n"); | ||||
| 	i_joliet_level = iso9660_ifs_get_joliet_level(p_iso); | ||||
| 	if (scan_only) { | ||||
| 		if (iso9660_ifs_get_volume_id(p_iso, &tmp)) { | ||||
| 			safe_strcpy(iso_report.label, sizeof(iso_report.label), tmp); | ||||
|  |  | |||
							
								
								
									
										10
									
								
								src/rufus.rc
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								src/rufus.rc
									
										
									
									
									
								
							|  | @ -30,7 +30,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL | |||
| IDD_DIALOG DIALOGEX 12, 12, 206, 316 | ||||
| STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | ||||
| EXSTYLE WS_EX_APPWINDOW | ||||
| CAPTION "Rufus v1.3.1.220" | ||||
| CAPTION "Rufus v1.3.1.221" | ||||
| FONT 8, "MS Shell Dlg", 400, 0, 0x1 | ||||
| BEGIN | ||||
|     DEFPUSHBUTTON   "Start",IDC_START,94,278,50,14 | ||||
|  | @ -274,8 +274,8 @@ END | |||
| // | ||||
| 
 | ||||
| VS_VERSION_INFO VERSIONINFO | ||||
|  FILEVERSION 1,3,1,220 | ||||
|  PRODUCTVERSION 1,3,1,220 | ||||
|  FILEVERSION 1,3,1,221 | ||||
|  PRODUCTVERSION 1,3,1,221 | ||||
|  FILEFLAGSMASK 0x3fL | ||||
| #ifdef _DEBUG | ||||
|  FILEFLAGS 0x1L | ||||
|  | @ -292,13 +292,13 @@ BEGIN | |||
|         BEGIN | ||||
|             VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" | ||||
|             VALUE "FileDescription", "Rufus" | ||||
|             VALUE "FileVersion", "1.3.1.220" | ||||
|             VALUE "FileVersion", "1.3.1.221" | ||||
|             VALUE "InternalName", "Rufus" | ||||
|             VALUE "LegalCopyright", "(c) 2011-2012 Pete Batard (GPL v3)" | ||||
|             VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" | ||||
|             VALUE "OriginalFilename", "rufus.exe" | ||||
|             VALUE "ProductName", "Rufus" | ||||
|             VALUE "ProductVersion", "1.3.1.220" | ||||
|             VALUE "ProductVersion", "1.3.1.221" | ||||
|         END | ||||
|     END | ||||
|     BLOCK "VarFileInfo" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue