From a23d884eca6ba16622f341de270cfc73663204ab Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:41:22 -0400 Subject: [PATCH 01/53] Spelling: according --- src/msvc-missing/stdint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msvc-missing/stdint.h b/src/msvc-missing/stdint.h index 51687f70..1914e6d9 100644 --- a/src/msvc-missing/stdint.h +++ b/src/msvc-missing/stdint.h @@ -228,7 +228,7 @@ typedef unsigned __int64 uintmax_t; /* 7.18.4.1 Macros for minimum-width integer constants - Accoding to Douglas Gwyn : + According to Douglas Gwyn : "This spec was changed in ISO/IEC 9899:1999 TC1; in ISO/IEC 9899:1999 as initially published, the expansion was required to be an integer constant of precisely matching type, which From bf9a53c8b216eedd89b9cb4018116c9c362b0764 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:41:38 -0400 Subject: [PATCH 02/53] Spelling: access --- src/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net.c b/src/net.c index e27c6b6f..15f10f25 100644 --- a/src/net.c +++ b/src/net.c @@ -314,7 +314,7 @@ BOOL DownloadFile(const char* url, const char* file, HWND hProgressDialog) HttpQueryInfoA(hRequest, HTTP_QUERY_STATUS_CODE|HTTP_QUERY_FLAG_NUMBER, (LPVOID)&dwStatus, &dwSize, NULL); if (dwStatus != 200) { error_code = ERROR_INTERNET_ITEM_NOT_FOUND; - uprintf("Unable to acess file: Server status %d\n", dwStatus); + uprintf("Unable to access file: Server status %d\n", dwStatus); goto out; } dwSize = sizeof(dwTotalSize); From d8f00de762b6d962a07f3a5f33f56a30fdc1d8a8 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:49:26 -0400 Subject: [PATCH 03/53] Spelling: auxiliary --- src/syslinux/libinstaller/setadv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslinux/libinstaller/setadv.c b/src/syslinux/libinstaller/setadv.c index 838678bd..66601f7c 100644 --- a/src/syslinux/libinstaller/setadv.c +++ b/src/syslinux/libinstaller/setadv.c @@ -14,7 +14,7 @@ /* * setadv.c * - * (Over)write a data item in the auxilliary data vector. To + * (Over)write a data item in the auxiliary data vector. To * delete an item, set its length to zero. * * Return 0 on success, -1 on error, and set errno. From bdc631d16548a0a25c3fa54ae94dca6fa3198e28 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:50:37 -0400 Subject: [PATCH 04/53] Spelling: conversion --- src/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos.c b/src/dos.c index 119d6671..c2d4036c 100644 --- a/src/dos.c +++ b/src/dos.c @@ -154,7 +154,7 @@ static void FatDateTimeToSystemTime(PLARGE_INTEGER SystemTime, PFAT_DATETIME Fat /* Fix seconds value that might get beyond the bound */ if (TimeFields.Second > 59) TimeFields.Second = 0; - /* Perform ceonversion to system time if possible */ + /* Perform conversion to system time if possible */ if (!RtlTimeFieldsToTime(&TimeFields, SystemTime)) { /* Set to default time if conversion failed */ SystemTime->QuadPart = 0; From 654b05ce722dbb323381c6828a6ab6348bf5dd00 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:51:34 -0400 Subject: [PATCH 05/53] Spelling: committed --- src/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index 0e407c51..1b72eee8 100644 --- a/src/format.c +++ b/src/format.c @@ -525,7 +525,7 @@ static BOOL FormatFAT32(DWORD DriveIndex) die("This drive is too big for large FAT32 format\n", APPERR(ERROR_INVALID_VOLUME_SIZE)); } - // Now we're commited - print some info first + // Now we're committed - print some info first uprintf("Size : %s %u sectors\n", SizeToHumanReadable(piDrive.PartitionLength), TotalSectors); uprintf("Cluster size %d bytes, %d Bytes Per Sector\n", SectorsPerCluster*BytesPerSect, BytesPerSect); uprintf("Volume ID is %x:%x\n", VolumeId>>16, VolumeId&0xffff); From 2328b830a83eb4cd0f6c25d4fe605b957a9cd399 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:54:48 -0400 Subject: [PATCH 06/53] Spelling: Cyrillic --- src/dos_locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos_locale.c b/src/dos_locale.c index b042b10b..63932d39 100644 --- a/src/dos_locale.c +++ b/src/dos_locale.c @@ -639,7 +639,7 @@ static const char* get_kb(void) case 0x00000440: // Kyrgyz Cyrillic return "ky"; case 0x00000043: - case 0x00000843: // Uzbek Crillic + case 0x00000843: // Uzbek Cyrillic return "uz"; case 0x00000042: case 0x00000442: // Turkmen From a3779de078cf884018874d7c099e4c98074fcea7 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:15:48 -0400 Subject: [PATCH 07/53] Spelling: exited --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 9a50ce89..d32d8a95 100644 --- a/configure +++ b/configure @@ -1511,7 +1511,7 @@ done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} -# When interrupted or exit'd, cleanup temporary files, and complete +# When interrupted or exited, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. From d3503ea1ba4badf44eedd5305cd9fdfe572c7a22 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:21:52 -0400 Subject: [PATCH 08/53] Spelling: format --- src/rufus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rufus.c b/src/rufus.c index e8b6ecb7..026b05d8 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -207,7 +207,7 @@ static BOOL DefineClusterSizes(void) } // FAT 32 - // > 32GB FAT32 is not supported by MS and FormatEx but is achieved using fat32fomat + // > 32GB FAT32 is not supported by MS and FormatEx but is achieved using fat32format // See: http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm // < 32 MB FAT32 is not allowed by FormatEx, so we don't bother From 38cdca3da103a0ba3e04581e08d4ce2f5d577b43 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:24:35 -0400 Subject: [PATCH 09/53] Spelling: hundredths --- src/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index 1b72eee8..51672520 100644 --- a/src/format.c +++ b/src/format.c @@ -265,7 +265,7 @@ static void ToValidLabel(WCHAR* name, BOOL bFAT) * * Low order word is calculated: Volume Serial Number is: * Month & Day 12/26 0c1ah - * Sec & Hundrenths 41:94 295eh 3578:1d02 + * Sec & Hundredths 41:94 295eh 3578:1d02 * ----- * 3578h * From 2f51164a7d43409eecfb082f5b14eb2bdb8553e0 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:41:12 -0400 Subject: [PATCH 10/53] Spelling: inaccessible --- src/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index 51672520..0b0bd8a1 100644 --- a/src/format.c +++ b/src/format.c @@ -1104,7 +1104,7 @@ static BOOL RemountVolume(char drive_letter) uprintf("Successfully remounted %s on %s\n", &drive_guid[4], drive_name); } else { uprintf("Failed to remount %s on %s\n", &drive_guid[4], drive_name); - // This will leave the drive unaccessible and must be flagged as an error + // This will leave the drive inaccessible and must be flagged as an error FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|APPERR(ERROR_CANT_REMOUNT_VOLUME); return FALSE; } From 7431973616921b4f42868bb4a21d780f083502dd Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:27:04 -0400 Subject: [PATCH 11/53] Spelling: instantaneous --- src/rufus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rufus.c b/src/rufus.c index 026b05d8..dab80c2d 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -1804,7 +1804,7 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA uprintf("\r\n"); GetUSBDevices(DeviceNum); if (!IS_ERROR(FormatStatus)) { - // This is the only way to achieve instantenous progress transition to 100% + // This is the only way to achieve instantaneous progress transition to 100% SendMessage(hProgress, PBM_SETRANGE, 0, ((MAX_PROGRESS+1)<<16) & 0xFFFF0000); SendMessage(hProgress, PBM_SETPOS, (MAX_PROGRESS+1), 0); SendMessage(hProgress, PBM_SETRANGE, 0, (MAX_PROGRESS<<16) & 0xFFFF0000); From 201ab858d6e1c1fa2db30cc07bfde781383f5188 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:29:03 -0400 Subject: [PATCH 12/53] Spelling: occurred --- res/mbr/mbr.S | 2 +- src/parser.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/res/mbr/mbr.S b/res/mbr/mbr.S index dedf7ddc..746eb2b2 100644 --- a/res/mbr/mbr.S +++ b/res/mbr/mbr.S @@ -134,7 +134,7 @@ check_timeout: cmpb ds:counter_timeout, 0x00 jnz wait_for_keyboard -boot_fixed_disk: # Timeout occured => boot second bootable disk (non USB) +boot_fixed_disk: # Timeout occurred => boot second bootable disk (non USB) call restore_rtc_vect # Remove our RTC override movb ds:partition_table, 0x81 # target we want to swap with 0x80 push 0x0080 diff --git a/src/parser.c b/src/parser.c index d5e778e5..d4d9adea 100644 --- a/src/parser.c +++ b/src/parser.c @@ -345,7 +345,7 @@ out: if (fd_in != NULL) fclose(fd_in); if (fd_out != NULL) fclose(fd_out); - // If an insertion occured, delete existing file and use the new one + // If an insertion occurred, delete existing file and use the new one if (ret != NULL) { // We're in Windows text mode => Remove CRs if requested fd_in = _wfopen(wtmpname, L"rb"); @@ -378,7 +378,7 @@ out: // Search for a specific 'src' substring data for all occurences of 'token', and replace // it with 'rep'. File can be ANSI or UNICODE and is overwritten. Parameters are UTF-8. // The parsed line is of the form: [ ]token[ ]data -// Returns a pointer to rep if replacement occured, NULL otherwise +// Returns a pointer to rep if replacement occurred, NULL otherwise char* replace_in_token_data(const char* filename, const char* token, const char* src, const char* rep, BOOL dos2unix) { const wchar_t* outmode[] = { L"w", L"w, ccs=UTF-8", L"w, ccs=UTF-16LE" }; @@ -491,7 +491,7 @@ out: if (fd_in != NULL) fclose(fd_in); if (fd_out != NULL) fclose(fd_out); - // If a replacement occured, delete existing file and use the new one + // If a replacement occurred, delete existing file and use the new one if (ret != NULL) { // We're in Windows text mode => Remove CRs if requested fd_in = _wfopen(wtmpname, L"rb"); From 445696cfc12a965f4dcd2c9d3a151fa96bac290d Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:29:41 -0400 Subject: [PATCH 13/53] Spelling: occurrence --- src/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parser.c b/src/parser.c index d4d9adea..8d85afc5 100644 --- a/src/parser.c +++ b/src/parser.c @@ -90,7 +90,7 @@ static wchar_t* get_token_data_line(const wchar_t* wtoken, wchar_t* wline) return (wline[r] == 0)?NULL:&wline[r]; } -// Parse a file (ANSI or UTF-8 or UTF-16) and return the data for the first occurence of 'token' +// Parse a file (ANSI or UTF-8 or UTF-16) and return the data for the first occurrence of 'token' // The returned string is UTF-8 and MUST be freed by the caller char* get_token_data_file(const char* token, const char* filename) { @@ -135,7 +135,7 @@ out: return ret; } -// Parse a buffer (ANSI or UTF-8) and return the data for the 'n'th occurence of 'token' +// Parse a buffer (ANSI or UTF-8) and return the data for the 'n'th occurrence of 'token' // The returned string is UTF-8 and MUST be freed by the caller char* get_token_data_buffer(const char* token, unsigned int n, const char* buffer, size_t buffer_size) { @@ -375,7 +375,7 @@ out: return ret; } -// Search for a specific 'src' substring data for all occurences of 'token', and replace +// Search for a specific 'src' substring data for all occurrences of 'token', and replace // it with 'rep'. File can be ANSI or UNICODE and is overwritten. Parameters are UTF-8. // The parsed line is of the form: [ ]token[ ]data // Returns a pointer to rep if replacement occurred, NULL otherwise From b29416018e2f8e04fc23303c98479a932dab242c Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:33:39 -0400 Subject: [PATCH 14/53] Spelling: partition --- src/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index 0b0bd8a1..632ece09 100644 --- a/src/format.c +++ b/src/format.c @@ -387,7 +387,7 @@ static BOOL FormatFAT32(DWORD DriveIndex) if (IS_ERROR(FormatStatus)) goto out; if (!DeviceIoControl (hLogicalVolume, IOCTL_DISK_GET_PARTITION_INFO, NULL, 0, &piDrive, sizeof(piDrive), &cbRet, NULL)) { - die("Failed to get parition info\n", ERROR_NOT_SUPPORTED); + die("Failed to get partition info\n", ERROR_NOT_SUPPORTED); } BytesPerSect = dgDrive.BytesPerSector; From cbe1f502b3671166dc2d8d2cf239116a10f7b8cd Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:44:37 -0400 Subject: [PATCH 15/53] Spelling: partitioned --- src/rufus.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rufus.rc b/src/rufus.rc index 7a7cdbdb..9f438963 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -63,7 +63,7 @@ BEGIN COMBOBOX IDC_DISK_ID,119,246,73,30,CBS_DROPDOWNLIST | NOT WS_VISIBLE | WS_VSCROLL | WS_TABSTOP CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,235,184,10 - CONTROL "List fixed (non-flash) or unpartitionned USB disks",IDC_ENABLE_FIXED_DISKS, + CONTROL "List fixed (non-flash) or unpartitioned USB disks",IDC_ENABLE_FIXED_DISKS, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,185,10 PUSHBUTTON "Log",IDC_LOG,62,291,18,14 END From 20f3aa692174ded47a0450d1bbfd0e79fb6319cd Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:36:18 -0400 Subject: [PATCH 16/53] Spelling: recenter --- src/rufus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rufus.c b/src/rufus.c index dab80c2d..2bba1cde 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -984,7 +984,7 @@ BOOL CALLBACK ISOProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) UpdateWindow(hDlg); return TRUE; case UM_ISO_EXIT: - // Just hide and recentrer the dialog + // Just hide and recenter the dialog ShowWindow(hDlg, SW_HIDE); iso_op_in_progress = FALSE; return TRUE; From 4c264fd6da536f2ade0fb341ba6c4e8c728848ed Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:37:42 -0400 Subject: [PATCH 17/53] Spelling: reserved --- src/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index 632ece09..02d7092e 100644 --- a/src/format.c +++ b/src/format.c @@ -534,7 +534,7 @@ static BOOL FormatFAT32(DWORD DriveIndex) // Fix up the FSInfo sector pFAT32FsInfo->dFree_Count = (UserAreaSize/SectorsPerCluster) - 1; - pFAT32FsInfo->dNxt_Free = 3; // clusters 0-1 resered, we used cluster 2 for the root dir + pFAT32FsInfo->dNxt_Free = 3; // clusters 0-1 reserved, we used cluster 2 for the root dir uprintf("%d Free Clusters\n", pFAT32FsInfo->dFree_Count); // Work out the Cluster count From 28732215da0de07af8749ac6dfea35033371e43b Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:38:39 -0400 Subject: [PATCH 18/53] Spelling: separate --- src/sys_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys_types.h b/src/sys_types.h index e99b0172..5fc37ff7 100644 --- a/src/sys_types.h +++ b/src/sys_types.h @@ -94,7 +94,7 @@ SysType msdos_systypes[] = { { 0x88, N_("Linux Plaintext") }, { 0x8e, N_("Linux LVM") }, { 0x93, N_("Amoeba") }, - /*This guys created a seperate partition for badblocks?! */ + /*This guys created a separate partition for badblocks?! */ { 0x94, N_("Amoeba BBT") }, { 0x9f, N_("BSD/OS") }, { 0xa0, N_("Thinkpad Hibernation") }, From d9fb325b34c6f76612e2d85ae362f21ac37a1114 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:40:14 -0400 Subject: [PATCH 19/53] Spelling: success --- src/dos.c | 4 ++-- src/dos_locale.c | 6 +++--- src/format.c | 2 +- src/syslinux.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/dos.c b/src/dos.c index c2d4036c..84a9280a 100644 --- a/src/dos.c +++ b/src/dos.c @@ -280,7 +280,7 @@ static BOOL ExtractFAT(int entry, const char* path) } safe_closehandle(hFile); - uprintf("Succesfully wrote '%s' (%d bytes)\n", filename, filesize); + uprintf("Successfully wrote '%s' (%d bytes)\n", filename, filesize); return TRUE; } @@ -396,7 +396,7 @@ BOOL ExtractFreeDOS(const char* path) // thus we would need to have a separate header with each file's timestamps safe_closehandle(hFile); - uprintf("Succesfully wrote '%s' (%d bytes)\n", filename, res_size); + uprintf("Successfully wrote '%s' (%d bytes)\n", filename, res_size); if ((i == 4) || (i == 10) || (i == 16) || (i == 22) || (i == ARRAYSIZE(res_name)-1)) UpdateProgress(OP_DOS, -1.0f); diff --git a/src/dos_locale.c b/src/dos_locale.c index 63932d39..c131ffd2 100644 --- a/src/dos_locale.c +++ b/src/dos_locale.c @@ -970,7 +970,7 @@ BOOL SetDOSLocale(const char* path, BOOL bFreeDOS) fprintf(fd, "set PATH=.;\\;\\LOCALE\n"); fprintf(fd, "echo Using %s keyboard with %s codepage [%d]\n", kb_to_hr("us"), cp_to_hr(437), 437); fclose(fd); - uprintf("Succesfully wrote 'AUTOEXEC.BAT'\n"); + uprintf("Successfully wrote 'AUTOEXEC.BAT'\n"); return TRUE; } @@ -997,7 +997,7 @@ BOOL SetDOSLocale(const char* path, BOOL bFreeDOS) bFreeDOS?"MENU ":"MENUITEM=", bFreeDOS?')':',', kb_to_hr("us"), cp_to_hr(437), 437); fprintf(fd, "%s", bFreeDOS?"MENU\n12?\n":"[1]\ndevice=\\locale\\display.sys con=(ega,,1)\n[2]\n"); fclose(fd); - uprintf("Succesfully wrote 'CONFIG.SYS'\n"); + uprintf("Successfully wrote 'CONFIG.SYS'\n"); // AUTOEXEC.BAT strcpy(filename, path); @@ -1018,7 +1018,7 @@ BOOL SetDOSLocale(const char* path, BOOL bFreeDOS) fprintf(fd, "keyb %s,,\\locale\\%s\n", kb, kbdrv); fprintf(fd, ":2\n"); fclose(fd); - uprintf("Succesfully wrote 'AUTOEXEC.BAT'\n"); + uprintf("Successfully wrote 'AUTOEXEC.BAT'\n"); return TRUE; } diff --git a/src/format.c b/src/format.c index 02d7092e..ae0f23c1 100644 --- a/src/format.c +++ b/src/format.c @@ -994,7 +994,7 @@ static BOOL SetupWinPE(char drive_letter) uprintf("Failed to add SetupSourceDevice in %s\n", dst); goto out; } - uprintf("Succesfully added '%s' to %s\n", setupsrcdev, dst); + uprintf("Successfully added '%s' to %s\n", setupsrcdev, dst); } safe_sprintf(src, sizeof(src), "%c:\\%s\\setupldr.bin", drive_letter, basedir[index]); diff --git a/src/syslinux.c b/src/syslinux.c index 3f1c2a30..0b621b75 100644 --- a/src/syslinux.c +++ b/src/syslinux.c @@ -133,7 +133,7 @@ BOOL InstallSyslinux(DWORD drive_index, char drive_letter) goto out; } - uprintf("Succesfully wrote '%s'\n", ldlinux_sys); + uprintf("Successfully wrote '%s'\n", ldlinux_sys); if (dt != DT_ISO) UpdateProgress(OP_DOS, -1.0f); @@ -203,7 +203,7 @@ BOOL InstallSyslinux(DWORD drive_index, char drive_letter) goto out; } - uprintf("Succesfully wrote Syslinux boot record\n"); + uprintf("Successfully wrote Syslinux boot record\n"); if (dt == DT_SYSLINUX_V5) { fd = fopen(ldlinux_c32, "rb"); From 7c3f003f138afd87bccf3fe080b079edcfcb1080 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:41:36 -0400 Subject: [PATCH 20/53] Spelling: underscores --- src/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index ae0f23c1..98397610 100644 --- a/src/format.c +++ b/src/format.c @@ -243,7 +243,7 @@ static void ToValidLabel(WCHAR* name, BOOL bFAT) if (name[i] == '_') j++; if (i<2*j) { // If the final label is mostly underscore, use the proposed label - uprintf("FAT label is mostly undercores. Using '%s' label instead.\n", SelectedDrive.proposed_label); + uprintf("FAT label is mostly underscores. Using '%s' label instead.\n", SelectedDrive.proposed_label); for(i=0; SelectedDrive.proposed_label[i]!=0; i++) name[i] = SelectedDrive.proposed_label[i]; name[i] = 0; From 7c2aae499525f7c2397af41e3483ac69ccb59e70 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:45:30 -0400 Subject: [PATCH 21/53] Spelling: zeroed --- src/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index 98397610..a8c17fc8 100644 --- a/src/format.c +++ b/src/format.c @@ -493,7 +493,7 @@ static BOOL FormatFAT32(DWORD DriveIndex) // Sector 6 Backup boot sector // Sector 7 Backup FSInfo sector // Sector 8 Backup 'more boot code' - // zero'd sectors upto ReservedSectCount + // zeroed sectors upto ReservedSectCount // FAT1 ReservedSectCount to ReservedSectCount + FatSize // ... // FATn ReservedSectCount to ReservedSectCount + FatSize From 9bda53fa423bbac52e8afe65d232e565777fa197 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:28:16 -0400 Subject: [PATCH 22/53] Grammar: inexact --- src/getopt/getopt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/getopt/getopt.c b/src/getopt/getopt.c index b7f26eb4..9f6b750c 100644 --- a/src/getopt/getopt.c +++ b/src/getopt/getopt.c @@ -668,7 +668,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) } else if (pfound == NULL) { - /* First nonexact match found. */ + /* First inexact match found. */ pfound = p; indfound = option_index; } @@ -676,7 +676,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) || pfound->has_arg != p->has_arg || pfound->flag != p->flag || pfound->val != p->val) - /* Second or later nonexact match found. */ + /* Second or later inexact match found. */ ambig = 1; } @@ -859,12 +859,12 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) } else if (pfound == NULL) { - /* First nonexact match found. */ + /* First inexact match found. */ pfound = p; indfound = option_index; } else - /* Second or later nonexact match found. */ + /* Second or later inexact match found. */ ambig = 1; } if (ambig && !exact) From bbefdcb0698af44c0ba2a0d4a69f1f6705a626f1 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:35:10 -0400 Subject: [PATCH 23/53] Grammar: percent --- src/rufus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rufus.c b/src/rufus.c index 2bba1cde..25d264e1 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -130,7 +130,7 @@ static int64_t last_iso_blocking_status; /* * The following is used to allocate slots within the progress bar * 0 means unused (no operation or no progress allocated to it) - * +n means allocate exactly n bars (n percents of the progress bar) + * +n means allocate exactly n bars (n percent of the progress bar) * -n means allocate a weighted slot of n from all remaining * bars. Eg if 80 slots remain and the sum of all negative entries * is 10, -4 will allocate 4/10*80 = 32 bars (32%) for OP progress From e99ae9717cc7705640ae3a71f637e80a772c15d6 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:51:12 -0400 Subject: [PATCH 24/53] Spelling (en-US): color --- src/stdlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlg.c b/src/stdlg.c index 08fb6118..ec065aa0 100644 --- a/src/stdlg.c +++ b/src/stdlg.c @@ -574,7 +574,7 @@ INT_PTR CALLBACK NotificationCallback(HWND hDlg, UINT message, WPARAM wParam, LP } return (INT_PTR)TRUE; case WM_CTLCOLORSTATIC: - // Change the background colour for static text and icon + // Change the background color for static text and icon SetBkMode((HDC)wParam, TRANSPARENT); if ((HWND)lParam == GetDlgItem(hDlg, IDC_NOTIFICATION_LINE)) { return (INT_PTR)separator_brush; From 4ff709746e928980b3b4fc980df9767d710d1800 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:26:45 -0400 Subject: [PATCH 25/53] Spelling (en-US): initializing --- src/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index a8c17fc8..f1f6eb31 100644 --- a/src/format.c +++ b/src/format.c @@ -560,7 +560,7 @@ static BOOL FormatFAT32(DWORD DriveIndex) } } - uprintf ("Initialising reserved sectors and FATs...\n"); + uprintf ("Initializing reserved sectors and FATs...\n"); // Now we should write the boot sector and fsinfo twice, once at 0 and once at the backup boot sect position for (i=0; i<2; i++) { int SectorStart = (i==0) ? 0 : BackupBootSect; From 104294d23fe94c2a87acb96cc0047ab1eb89bee8 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:27:37 -0400 Subject: [PATCH 26/53] Brand: [libcdio] Microsoft --- src/libcdio/cdio/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/device.h b/src/libcdio/cdio/device.h index 97c8a4e0..7e808fd1 100644 --- a/src/libcdio/cdio/device.h +++ b/src/libcdio/cdio/device.h @@ -852,7 +852,7 @@ LIBCDIO_DEPRECATED(static const driver_id_t CDIO_MAX_DEVICE_DRIVER, "please use Set up CD-ROM for reading using the Microsoft Windows driver. The device_name is the some sort of device name. - NULL is returned on error or there is no Microsof Windows driver. + NULL is returned on error or there is no Microsoft Windows driver. */ CdIo_t * cdio_open_am_win32 (const char *psz_source, const char *psz_access_mode); From d5ab029c654b5cdd2c4b4b0acd7bb4ef5e04494c Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:43:22 -0400 Subject: [PATCH 27/53] Spelling: [libcdio] associate --- src/libcdio/cdio/device.h | 6 +++--- src/libcdio/cdio/iso9660.h | 2 +- src/libcdio/driver/_cdio_stdio.c | 2 +- src/libcdio/driver/_cdio_stdio.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libcdio/cdio/device.h b/src/libcdio/cdio/device.h index 7e808fd1..6eaaa758 100644 --- a/src/libcdio/cdio/device.h +++ b/src/libcdio/cdio/device.h @@ -1016,11 +1016,11 @@ Return a list of all of the CD-ROM devices that the OS/2 driver int i_drive_speed ); /** - Get the value associatied with key. + Get the value associated with key. @param p_cdio the CD object queried @param key the key to retrieve - @return the value associatd with "key" or NULL if p_cdio is NULL + @return the value associated with "key" or NULL if p_cdio is NULL or "key" does not exist. */ const char * cdio_get_arg (const CdIo_t *p_cdio, const char key[]); @@ -1030,7 +1030,7 @@ Return a list of all of the CD-ROM devices that the OS/2 driver @param p_cdio the CD object to set @param key the key to set - @param value the value to assocaiate with key + @param value the value to associate with key */ driver_return_code_t cdio_set_arg (CdIo_t *p_cdio, const char key[], const char value[]); diff --git a/src/libcdio/cdio/iso9660.h b/src/libcdio/cdio/iso9660.h index e52e8ebc..1f42b4cc 100644 --- a/src/libcdio/cdio/iso9660.h +++ b/src/libcdio/cdio/iso9660.h @@ -78,7 +78,7 @@ typedef char dchar_t; /*! See section 7.4.1 */ program; things are done this way so that in a debugger one can to refer to the enumeration value names such as in a debugger expression and get something. With the more common a \#define - mechanism, the name/value assocation is lost at run time. + mechanism, the name/value association is lost at run time. */ extern enum iso_enum1_s { ISO_PVD_SECTOR = 16, /**< Sector of Primary Volume Descriptor. */ diff --git a/src/libcdio/driver/_cdio_stdio.c b/src/libcdio/driver/_cdio_stdio.c index 3912c8cd..7dde8083 100644 --- a/src/libcdio/driver/_cdio_stdio.c +++ b/src/libcdio/driver/_cdio_stdio.c @@ -233,7 +233,7 @@ _stdio_read(void *user_data, void *buf, size_t count) } /*! - Deallocate resources assocaited with obj. After this obj is unusable. + Deallocate resources associated with obj. After this obj is unusable. */ void cdio_stdio_destroy(CdioDataSource_t *p_obj) diff --git a/src/libcdio/driver/_cdio_stdio.h b/src/libcdio/driver/_cdio_stdio.h index d3f805f1..e85c1f2c 100644 --- a/src/libcdio/driver/_cdio_stdio.h +++ b/src/libcdio/driver/_cdio_stdio.h @@ -32,7 +32,7 @@ CdioDataSource_t * cdio_stdio_new(const char psz_path[]); /*! - Deallocate resources assocaited with obj. After this obj is unusable. + Deallocate resources associated with obj. After this obj is unusable. */ void cdio_stdio_destroy(CdioDataSource_t *p_obj); From 78d2cb9f4b8259b58e9c3d084aafe585d7d08974 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:49:00 -0400 Subject: [PATCH 28/53] Spelling: [libcdio] attribute --- src/libcdio/cdio/iso9660.h | 2 +- src/libcdio/iso9660/iso9660_fs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcdio/cdio/iso9660.h b/src/libcdio/cdio/iso9660.h index 1f42b4cc..8986a5fb 100644 --- a/src/libcdio/cdio/iso9660.h +++ b/src/libcdio/cdio/iso9660.h @@ -1115,7 +1115,7 @@ lsn_t iso9660_get_dir_extent(const iso9660_dir_t *p_idr); void iso9660_set_evd (void *pd); /*! - Return true if ISO 9660 image has extended attrributes (XA). + Return true if ISO 9660 image has extended attributes (XA). */ bool iso9660_ifs_is_xa (const iso9660_t * p_iso); diff --git a/src/libcdio/iso9660/iso9660_fs.c b/src/libcdio/iso9660/iso9660_fs.c index 3eb06b57..7b8fbdf7 100644 --- a/src/libcdio/iso9660/iso9660_fs.c +++ b/src/libcdio/iso9660/iso9660_fs.c @@ -1513,7 +1513,7 @@ iso9660_ifs_find_lsn_with_path(iso9660_t *p_iso, lsn_t i_lsn, } /*! - Return true if ISO 9660 image has extended attrributes (XA). + Return true if ISO 9660 image has extended attributes (XA). */ bool iso9660_ifs_is_xa (const iso9660_t * p_iso) From f268729cd803193fbcc35c9f52af57e42056d750 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:50:18 -0400 Subject: [PATCH 29/53] Spelling: [libcdio] capabilities --- src/libcdio/cdio/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/device.h b/src/libcdio/cdio/device.h index 6eaaa758..d9e581d7 100644 --- a/src/libcdio/cdio/device.h +++ b/src/libcdio/cdio/device.h @@ -330,7 +330,7 @@ LIBCDIO_DEPRECATED(static const driver_id_t CDIO_MAX_DEVICE_DRIVER, "please use /** Get an array of device names in search_devices that have at least - the capabilities listed by the capabities parameter. If + the capabilities listed by the capabilities parameter. If search_devices is NULL, then we'll search all possible CD drives. Capabilities have two parts to them, a "filesystem" part and an From b22f118339200063581d3e6e8c7276ef8d0d58c6 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:42:32 -0400 Subject: [PATCH 30/53] Spelling: [libcdio] character --- src/libcdio/cdio/iso9660.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/iso9660.h b/src/libcdio/cdio/iso9660.h index 8986a5fb..0ad007fa 100644 --- a/src/libcdio/cdio/iso9660.h +++ b/src/libcdio/cdio/iso9660.h @@ -437,7 +437,7 @@ struct iso9660_svd_s { achar_t publisher_id[ISO_MAX_PUBLISHER_ID]; /**< Publisher of volume. If the first char- - aracter is '_' 0x5F, + character is '_' 0x5F, the remaining bytes specify a file containing the user. From 21ad6e4a888f2c765822114d8ba7cb4e2eae43ba Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:52:06 -0400 Subject: [PATCH 31/53] Spelling: [libcdio] compatible --- src/libcdio/cdio/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/device.h b/src/libcdio/cdio/device.h index d9e581d7..f7d0786d 100644 --- a/src/libcdio/cdio/device.h +++ b/src/libcdio/cdio/device.h @@ -208,7 +208,7 @@ LIBCDIO_DEPRECATED(static const driver_id_t CDIO_MAX_DEVICE_DRIVER, "please use /** The following are status codes for completion of a given cdio operation. By design 0 is successful completion and -1 is error - completion. This is compatable with ioctl so those routines that + completion. This is compatible with ioctl so those routines that call ioctl can just pass the value the get back (cast as this enum). Also, by using negative numbers for errors, the enumeration values below can be used in places where a positive From 64aa24a65f35e7f81405e52f1c4c06e2b7d83454 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:52:23 -0400 Subject: [PATCH 32/53] Spelling: [libcdio] contains --- src/libcdio/driver/track.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/driver/track.c b/src/libcdio/driver/track.c index 84f727fe..7d93ede0 100644 --- a/src/libcdio/driver/track.c +++ b/src/libcdio/driver/track.c @@ -164,7 +164,7 @@ cdio_get_num_tracks (const CdIo_t *p_cdio) } } -/*! Find the track which contans lsn. +/*! Find the track which contains lsn. CDIO_INVALID_TRACK is returned if the lsn outside of the CD or if there was some error. From f929540fc674d0fd05c372fdb56e6979e43fae0a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:52:44 -0400 Subject: [PATCH 33/53] Spelling: [libcdio] contiguous --- src/libcdio/udf/filemode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/udf/filemode.c b/src/libcdio/udf/filemode.c index de6a6215..fc0d1a07 100644 --- a/src/libcdio/udf/filemode.c +++ b/src/libcdio/udf/filemode.c @@ -81,7 +81,7 @@ setst (mode_t bits, char *chars) 'l' for symbolic links 's' for sockets 'p' for fifos - 'C' for contigous data files + 'C' for contiguous data files '-' for regular files '?' for any other file type. */ From 2a79111de7c9c46bfbfdb3a97b86da790abf4ca1 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:13:47 -0400 Subject: [PATCH 34/53] Spelling: [libcdio] describing --- src/libcdio/cdio/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/device.h b/src/libcdio/cdio/device.h index f7d0786d..6666bb32 100644 --- a/src/libcdio/cdio/device.h +++ b/src/libcdio/cdio/device.h @@ -477,7 +477,7 @@ LIBCDIO_DEPRECATED(static const driver_id_t CDIO_MAX_DEVICE_DRIVER, "please use void cdio_destroy (CdIo_t *p_cdio); /** - Get a string decribing driver_id. + Get a string describing driver_id. @param driver_id the driver you want the description for @return a string of driver description From d50830089d83513a179fd6b9f3161f08c2f63576 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:14:18 -0400 Subject: [PATCH 35/53] Spelling: [libcdio] demonstrates --- src/libcdio/udf/udf_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/udf/udf_fs.c b/src/libcdio/udf/udf_fs.c index 749fd882..5b2cf953 100644 --- a/src/libcdio/udf/udf_fs.c +++ b/src/libcdio/udf/udf_fs.c @@ -77,7 +77,7 @@ const char VSD_STD_ID_TEA01[] = {'T', 'E', 'A', '0', '1'}; /* * The UDF specs are pretty clear on how each data structure is made * up, but not very clear on how they relate to each other. Here is - * the skinny... This demostrates a filesystem with one file in the + * the skinny... This demonstrates a filesystem with one file in the * root directory. Subdirectories are treated just as normal files, * but they have File Id Descriptors of their children as their file * data. As for the Anchor Volume Descriptor Pointer, it can exist in From 1906dc1d4aa6e767ecb911e407a35574bbdb9ea5 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:14:39 -0400 Subject: [PATCH 36/53] Spelling: [libcdio] directory --- src/libcdio/cdio/rock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/rock.h b/src/libcdio/cdio/rock.h index 8ae66807..9b5ac155 100644 --- a/src/libcdio/cdio/rock.h +++ b/src/libcdio/cdio/rock.h @@ -132,7 +132,7 @@ typedef struct iso_rock_px_s { /*! POSIX device number, PN. A PN is mandatory if the file type recorded in the "PX" File Mode field for a Directory Record indicates a character or block device (ISO_ROCK_ISCHR | - ISO_ROCK_ISBLK). This entry is ignored for other (non-Direcotry) + ISO_ROCK_ISBLK). This entry is ignored for other (non-Directory) file types. No more than one "PN" is recorded in the System Use Area of a Directory Record. From 99a34c5a8a5b6e60df361891c1b429419cda9039 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:15:13 -0400 Subject: [PATCH 37/53] Spelling: [libcdio] equivalent --- src/libcdio/cdio/iso9660.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/iso9660.h b/src/libcdio/cdio/iso9660.h index 0ad007fa..d4928f36 100644 --- a/src/libcdio/cdio/iso9660.h +++ b/src/libcdio/cdio/iso9660.h @@ -27,7 +27,7 @@ * filesystem library; applications include this. * * See also the ISO-9660 specification. The freely available European - * equivalant standard is called ECMA-119. + * equivalent standard is called ECMA-119. */ From 3a01af2d0f5dd89112d1783614131d7c73b23566 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:16:23 -0400 Subject: [PATCH 38/53] Spelling: [libcdio] extensions --- src/libcdio/cdio/iso9660.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/iso9660.h b/src/libcdio/cdio/iso9660.h index d4928f36..abde7c18 100644 --- a/src/libcdio/cdio/iso9660.h +++ b/src/libcdio/cdio/iso9660.h @@ -393,7 +393,7 @@ typedef struct iso9660_pvd_s iso9660_pvd_t; /*! \brief ISO-9660 Supplementary Volume Descriptor. - This is used for Joliet Extentions and is almost the same as the + This is used for Joliet Extensions and is almost the same as the the primary descriptor but two unused fields, "unused1" and "unused3 become "flags and "escape_sequences" respectively. */ From ad01dd74bcdbc41af48a8815d5276b5154ea83ac Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:20:58 -0400 Subject: [PATCH 39/53] Spelling: [libcdio] facilitate --- src/libcdio/cdio/ecma_167.h | 2 +- src/libcdio/cdio/rock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcdio/cdio/ecma_167.h b/src/libcdio/cdio/ecma_167.h index 81a12209..9c0a11b1 100644 --- a/src/libcdio/cdio/ecma_167.h +++ b/src/libcdio/cdio/ecma_167.h @@ -200,7 +200,7 @@ struct vol_struct_desc_s /** Standard Identifier (ECMA 167r3 2/9.1.2) */ -/* The below const definitions are to faciltate debugging of the +/* The below const definitions are to facilitate debugging of the values #define'd below. */ extern const char VSD_STD_ID_BEA01[sizeof("BEA01")-1]; extern const char VSD_STD_ID_BOOT2[sizeof("BOOT2")-1]; diff --git a/src/libcdio/cdio/rock.h b/src/libcdio/cdio/rock.h index 9b5ac155..9ac22074 100644 --- a/src/libcdio/cdio/rock.h +++ b/src/libcdio/cdio/rock.h @@ -361,7 +361,7 @@ int get_rock_ridge_filename(iso9660_dir_t * de, /*out*/ char * retname, */ const char *iso9660_get_rock_attr_str(posix_mode_t st_mode); -/** These variables are not used, but are defined to facilatate debugging +/** These variables are not used, but are defined to facilitate debugging by letting us use enumerations values (which also correspond to \#define's inside a debugged program. */ From 492bbce30b3d59227240b4d7b9375c998c189b51 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:21:26 -0400 Subject: [PATCH 40/53] Spelling: [libcdio] followed --- src/libcdio/cdio/iso9660.h | 2 +- src/libcdio/iso9660/iso9660.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcdio/cdio/iso9660.h b/src/libcdio/cdio/iso9660.h index abde7c18..0593b06a 100644 --- a/src/libcdio/cdio/iso9660.h +++ b/src/libcdio/cdio/iso9660.h @@ -810,7 +810,7 @@ typedef struct _iso9660_s iso9660_t; /*! Take psz_path and a version number and turn that into a ISO-9660 - pathname. (That's just the pathname followd by ";" and the version + pathname. (That's just the pathname followed by ";" and the version number. For example, mydir/file.ext -> MYDIR/FILE.EXT;1 for version 1. The resulting ISO-9660 pathname is returned. */ diff --git a/src/libcdio/iso9660/iso9660.c b/src/libcdio/iso9660/iso9660.c index 5b9d0575..448abc0e 100644 --- a/src/libcdio/iso9660/iso9660.c +++ b/src/libcdio/iso9660/iso9660.c @@ -1103,7 +1103,7 @@ iso9660_pathname_valid_p (const char pathname[]) /*! Take pathname and a version number and turn that into a ISO-9660 - pathname. (That's just the pathname followd by ";" and the version + pathname. (That's just the pathname followed by ";" and the version number. For example, mydir/file.ext -> mydir/file.ext;1 for version 1. The resulting ISO-9660 pathname is returned. */ From f06cfe776b19cd09334fa63c5a2d8001b34e35ad Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:22:40 -0400 Subject: [PATCH 41/53] Spelling: [libcdio] freed --- src/libcdio/cdio/device.h | 2 +- src/libcdio/cdio/udf_file.h | 2 +- src/libcdio/udf/udf_fs.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcdio/cdio/device.h b/src/libcdio/cdio/device.h index 6666bb32..8281137f 100644 --- a/src/libcdio/cdio/device.h +++ b/src/libcdio/cdio/device.h @@ -267,7 +267,7 @@ LIBCDIO_DEPRECATED(static const driver_id_t CDIO_MAX_DEVICE_DRIVER, "please use Eject media in CD drive if there is a routine to do so. @param p_cdio the CD object to be acted upon. - If the CD is ejected *p_cdio is free'd and p_cdio set to NULL. + If the CD is ejected *p_cdio is freed and p_cdio set to NULL. */ driver_return_code_t cdio_eject_media (CdIo_t **p_cdio); diff --git a/src/libcdio/cdio/udf_file.h b/src/libcdio/cdio/udf_file.h index 625e448b..3ed42807 100644 --- a/src/libcdio/cdio/udf_file.h +++ b/src/libcdio/cdio/udf_file.h @@ -92,7 +92,7 @@ extern "C" { Advances p_udf_direct to the the next directory entry in the pointed to by p_udf_dir. It also returns this as the value. NULL is returned on reaching the end-of-file or if an error. Also - p_udf_dirent is free'd. If the end of is not reached the caller + p_udf_dirent is freed. If the end of is not reached the caller must call udf_dirent_free() with p_udf_dirent when done with it to release resources. */ diff --git a/src/libcdio/udf/udf_fs.c b/src/libcdio/udf/udf_fs.c index 5b2cf953..bb4b0706 100644 --- a/src/libcdio/udf/udf_fs.c +++ b/src/libcdio/udf/udf_fs.c @@ -220,7 +220,7 @@ udf_ff_traverse(udf_dirent_t *p_udf_dirent, char *psz_token) udf_dirent_t * p_udf_dirent3 = udf_ff_traverse(p_udf_dirent2, next_tok); - /* if p_udf_dirent3 is null p_udf_dirent2 is free'd. */ + /* if p_udf_dirent3 is null p_udf_dirent2 is freed. */ return p_udf_dirent3; } } From 4e3fea37215e4058f263f0313128dbbb73195e23 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:23:29 -0400 Subject: [PATCH 42/53] Spelling: [libcdio] homogeneous --- src/libcdio/cdio/rock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/rock.h b/src/libcdio/cdio/rock.h index 9ac22074..1f798207 100644 --- a/src/libcdio/cdio/rock.h +++ b/src/libcdio/cdio/rock.h @@ -223,7 +223,7 @@ typedef enum { /*! Time stamp(s) for a file. See Rock Ridge Section 4.1.6 */ typedef struct iso_rock_tf_s { uint8_t flags; /**< See ISO_ROCK_TF_* bits above. */ - uint8_t time_bytes[EMPTY_ARRAY_SIZE]; /**< A homogenious array of + uint8_t time_bytes[EMPTY_ARRAY_SIZE]; /**< A homogeneous array of iso9660_ltime_t or iso9660_dtime_t entries depending on flags & From 1de1b3e25af0f31cc3fbe41651d44aa2eac3075c Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:25:15 -0400 Subject: [PATCH 43/53] Spelling: [libcdio] implemented --- src/libcdio/driver/cdio_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcdio/driver/cdio_private.h b/src/libcdio/driver/cdio_private.h index c3e831ea..47d6b8a5 100644 --- a/src/libcdio/driver/cdio_private.h +++ b/src/libcdio/driver/cdio_private.h @@ -256,7 +256,7 @@ extern "C" { int (*get_track_channels) ( const void *p_env, track_t i_track ); /*! Return 0 if track is copy protected, 1 if not, or -1 for error - or -2 if not implimented (yet). Is this meaningful if not an + or -2 if not implemented (yet). Is this meaningful if not an audio track? */ track_flag_t (*get_track_copy_permit) ( void *p_env, track_t i_track ); @@ -311,7 +311,7 @@ extern "C" { bool (*get_track_msf) ( void *p_env, track_t i_track, msf_t *p_msf ); /*! Return 1 if track has pre-emphasis, 0 if not, or -1 for error - or -2 if not implimented (yet). Is this meaningful if not an + or -2 if not implemented (yet). Is this meaningful if not an audio track? */ track_flag_t (*get_track_preemphasis) From 63e25b51d03b6e5fa112260108109820f037f777 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:26:22 -0400 Subject: [PATCH 44/53] Spelling: [libcdio] initializes --- src/libcdio/cdio/xa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/xa.h b/src/libcdio/cdio/xa.h index 7dc95d88..014922bf 100644 --- a/src/libcdio/cdio/xa.h +++ b/src/libcdio/cdio/xa.h @@ -145,7 +145,7 @@ const char * iso9660_get_xa_attr_str (uint16_t xa_attr); /*! - Allocates and initalizes a new iso9600_xa_t variable and returns + Allocates and initializes a new iso9600_xa_t variable and returns it. The caller should free the returned result. @see iso9660_xa From 21b90f5a9b179490987f9cbfb7cde3ab356304f7 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:33:03 -0400 Subject: [PATCH 45/53] Spelling: [libcdio] parameter --- src/libcdio/iso9660/rock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/iso9660/rock.c b/src/libcdio/iso9660/rock.c index f83825fd..1eb6e31b 100644 --- a/src/libcdio/iso9660/rock.c +++ b/src/libcdio/iso9660/rock.c @@ -120,7 +120,7 @@ realloc_symlink(/*in/out*/ iso9660_stat_t *p_stat, uint8_t i_grow) /* Copy a long or short time from the iso_rock_tf_t into the specified field of a iso_rock_statbuf_t. - non-paramater variables are p_stat, rr, and cnt. + non-parameter variables are p_stat, rr, and cnt. */ #define add_time(FLAG, TIME_FIELD) \ if (rr->u.TF.flags & FLAG) { \ From 0bb4e34eaecdf7e4b99b6cea1cc6e26b9d75d1e3 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:36:41 -0400 Subject: [PATCH 46/53] Spelling: [libcdio] remaining --- src/libcdio/cdio/rock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/rock.h b/src/libcdio/cdio/rock.h index 1f798207..acad0f2c 100644 --- a/src/libcdio/cdio/rock.h +++ b/src/libcdio/cdio/rock.h @@ -269,7 +269,7 @@ typedef struct iso_extension_record_s { typedef struct iso_rock_time_s { bool b_used; /**< If true, field has been set and is valid. - Otherwise remaning fields are meaningless. */ + Otherwise remaining fields are meaningless. */ bool b_longdate; /**< If true date format is a iso9660_ltime_t. Otherwise date is iso9660_dtime_t */ union From c0a2d58a01f346aa0b57aedc2fa8e54b6fbddc71 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:37:57 -0400 Subject: [PATCH 47/53] Spelling: [libcdio] revision --- src/libcdio/cdio/track.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/track.h b/src/libcdio/cdio/track.h index 9c665c3b..f4aee6c9 100644 --- a/src/libcdio/cdio/track.h +++ b/src/libcdio/cdio/track.h @@ -83,7 +83,7 @@ extern "C" { #define CDIO_CD_MIN_TRACK_NO 1 /**< Smallest CD track number */ /*! track modes (Table 350) - reference: MMC-3 draft revsion - 10g + reference: MMC-3 draft revision - 10g */ typedef enum { AUDIO, /**< 2352 byte block length */ From d9f11b92e1c1464ea70c61a79404af1bd7e2bb12 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:38:21 -0400 Subject: [PATCH 48/53] Spelling: [libcdio] satisfied --- src/libcdio/cdio/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/device.h b/src/libcdio/cdio/device.h index 8281137f..651dc98c 100644 --- a/src/libcdio/cdio/device.h +++ b/src/libcdio/cdio/device.h @@ -347,7 +347,7 @@ LIBCDIO_DEPRECATED(static const driver_id_t CDIO_MAX_DEVICE_DRIVER, "please use If "b_any" is set false then every capability listed in the analysis portion of capabilities (i.e. not the basic filesystem) - must be satisified. If no analysis capabilities are specified, + must be satisfied. If no analysis capabilities are specified, that's a match. If "b_any" is set true, then if any of the analysis capabilities From 4c4c907b6b5ce1c6f0d4df91b0800e6577558ff6 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:39:16 -0400 Subject: [PATCH 49/53] Spelling: [libcdio] subsequent --- src/libcdio/driver/cdio_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/driver/cdio_private.h b/src/libcdio/driver/cdio_private.h index 47d6b8a5..37040132 100644 --- a/src/libcdio/driver/cdio_private.h +++ b/src/libcdio/driver/cdio_private.h @@ -141,7 +141,7 @@ extern "C" { const char * (*get_arg) (void *p_env, const char key[]); /*! - Get the block size for subsequest read requests, via a SCSI MMC + Get the block size for subsequent read requests, via a SCSI MMC MODE_SENSE 6 command. */ int (*get_blocksize) ( void *p_env ); From 8937c76e220412e976bfc0c7048db8b81f33e916 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:40:50 -0400 Subject: [PATCH 50/53] Spelling: [libcdio] success --- src/libcdio/cdio/utf8.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libcdio/cdio/utf8.h b/src/libcdio/cdio/utf8.h index e29cc819..ef150622 100644 --- a/src/libcdio/cdio/utf8.h +++ b/src/libcdio/cdio/utf8.h @@ -50,7 +50,7 @@ void cdio_charset_converter_destroy(cdio_charset_coverter_t*cnv); * \param src_len Length of source string * \param dst Returns destination string * \param dst_len If non NULL, returns the length of the destination string - * \returns true if conversion was sucessful, false else. + * \returns true if conversion was successful, false else. * * The destination string must be freed by the caller with free(). * If you pass -1 for src_len, strlen() will be used. @@ -65,7 +65,7 @@ bool cdio_charset_convert(cdio_charset_coverter_t*cnv, * \param dst Returns destination string * \param dst_len If non NULL, returns the length of the destination string * \param dst_charset The characterset to convert to - * \returns true if conversion was sucessful, false else. + * \returns true if conversion was successful, false else. * * This is a convenience function, which creates a charset converter, * converts one string and destroys the charset converter. @@ -80,7 +80,7 @@ bool cdio_charset_from_utf8(cdio_utf8_t * src, char ** dst, * \param src_len Length of the source string * \param dst Returns destination string (0 terminated) * \param src_charset The characterset to convert from - * \returns true if conversion was sucessful, false else. + * \returns true if conversion was successful, false else. * * This is a convenience function, which creates a charset converter, * converts one string and destroys the charset converter. If you pass -1 @@ -94,7 +94,7 @@ bool cdio_charset_to_utf8(const char *src, size_t src_len, cdio_utf8_t **dst, #ifdef _WIN32 /** \brief Convert an UTF8 string to UTF-16 (allocate returned string) * \param str Source string - * \returns NULL if the conversion was unsuccesful. Caller must free the + * \returns NULL if the conversion was unsuccessful. Caller must free the * returned string. * This is a convenience function available on Windows platforms only. */ From 0e99460819d897fb58f371ba202c970a53e066b2 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:42:58 -0400 Subject: [PATCH 51/53] Spelling: [libcdio] uninitialized --- src/libcdio/driver/cdio_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/driver/cdio_private.h b/src/libcdio/driver/cdio_private.h index 37040132..437a656c 100644 --- a/src/libcdio/driver/cdio_private.h +++ b/src/libcdio/driver/cdio_private.h @@ -475,7 +475,7 @@ extern "C" { on a particular host. */ extern CdIo_driver_t CdIo_driver[]; - /* The last valid entry of Cdio_driver. -1 means uninitialzed. -2 + /* The last valid entry of Cdio_driver. -1 means uninitialized. -2 means some sort of error. */ extern int CdIo_last_driver; From 9d101790916e6742ba68124edbde5c9aad9e2289 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 11:33:57 -0400 Subject: [PATCH 52/53] Spelling: [libcdio] [API Change] partition --- src/libcdio/cdio/iso9660.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcdio/cdio/iso9660.h b/src/libcdio/cdio/iso9660.h index 0593b06a..a826df0f 100644 --- a/src/libcdio/cdio/iso9660.h +++ b/src/libcdio/cdio/iso9660.h @@ -121,7 +121,7 @@ extern enum iso_vd_enum_s { ISO_VD_BOOT_RECORD = 0, /**< CD is bootable */ ISO_VD_PRIMARY = 1, /**< Is in any ISO-9660 */ ISO_VD_SUPPLEMENTARY = 2, /**< Used by Joliet, for example */ - ISO_VD_PARITION = 3, /**< Indicates a partition of a CD */ + ISO_VD_PARTITION = 3, /**< Indicates a partition of a CD */ ISO_VD_END = 255 } iso_vd_enums; From c59e585147e89152047752c240afd6b10afc7359 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 20 Jun 2013 10:54:09 -0400 Subject: [PATCH 53/53] Spelling: [libcdio] [API Change] converter --- src/libcdio/cdio/utf8.h | 8 ++++---- src/libcdio/driver/utf8.c | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/libcdio/cdio/utf8.h b/src/libcdio/cdio/utf8.h index ef150622..c7e63e1a 100644 --- a/src/libcdio/cdio/utf8.h +++ b/src/libcdio/cdio/utf8.h @@ -26,7 +26,7 @@ /** \brief Opaque characterset converter */ -typedef struct cdio_charset_coverter_s cdio_charset_coverter_t; +typedef struct cdio_charset_converter_s cdio_charset_converter_t; /** \brief Create a charset converter * \param src_charset Source charset @@ -34,7 +34,7 @@ typedef struct cdio_charset_coverter_s cdio_charset_coverter_t; * \returns A newly allocated charset converter */ -cdio_charset_coverter_t * +cdio_charset_converter_t * cdio_charset_converter_create(const char * src_charset, const char * dst_charset); @@ -42,7 +42,7 @@ cdio_charset_converter_create(const char * src_charset, * \param cnv A characterset converter */ -void cdio_charset_converter_destroy(cdio_charset_coverter_t*cnv); +void cdio_charset_converter_destroy(cdio_charset_converter_t*cnv); /** \brief Convert a string from one character set to another * \param cnv A charset converter @@ -56,7 +56,7 @@ void cdio_charset_converter_destroy(cdio_charset_coverter_t*cnv); * If you pass -1 for src_len, strlen() will be used. */ -bool cdio_charset_convert(cdio_charset_coverter_t*cnv, +bool cdio_charset_convert(cdio_charset_converter_t*cnv, char * src, int src_len, char ** dst, int * dst_len); diff --git a/src/libcdio/driver/utf8.c b/src/libcdio/driver/utf8.c index 5279d063..e02a5327 100644 --- a/src/libcdio/driver/utf8.c +++ b/src/libcdio/driver/utf8.c @@ -116,16 +116,16 @@ FILE* fopen_utf8(const char* filename, const char* mode) #ifdef HAVE_JOLIET #ifdef HAVE_ICONV #include -struct cdio_charset_coverter_s +struct cdio_charset_converter_s { iconv_t ic; }; -cdio_charset_coverter_t * +cdio_charset_converter_t * cdio_charset_converter_create(const char * src_charset, const char * dst_charset) { - cdio_charset_coverter_t * ret; + cdio_charset_converter_t * ret; ret = calloc(1, sizeof(*ret)); ret->ic = iconv_open(dst_charset, src_charset); return ret; @@ -158,7 +158,7 @@ static void bgav_hexdump(uint8_t * data, int len, int linebreak) } #endif -void cdio_charset_converter_destroy(cdio_charset_coverter_t*cnv) +void cdio_charset_converter_destroy(cdio_charset_converter_t*cnv) { iconv_close(cnv->ic); free(cnv); @@ -246,7 +246,7 @@ do_convert(iconv_t cd, const char * src, int src_len, return true; } -bool cdio_charset_convert(cdio_charset_coverter_t*cnv, +bool cdio_charset_convert(cdio_charset_converter_t*cnv, char * src, int src_len, char ** dst, int * dst_len) {