1
0

old edits uncommitted

This commit is contained in:
dtb 2022-08-30 20:38:36 -04:00
parent 18b8f57f04
commit d255de5940
2 changed files with 3 additions and 5 deletions

View File

@ -81,7 +81,6 @@ Oh well.
<LI><A HREF="https://github.com/mayfrost/guides/blob/master/IRC.md">IRC Rite</A></LI> <LI><A HREF="https://github.com/mayfrost/guides/blob/master/IRC.md">IRC Rite</A></LI>
<LI><A HREF="http://xn--5ca.cc/jack-of-diamonds/">Jack of Diamonds</A></LI> <LI><A HREF="http://xn--5ca.cc/jack-of-diamonds/">Jack of Diamonds</A></LI>
<LI><A HREF="https://www.saji8k.com/kit-fui/">Kit FUI</A></LI> <LI><A HREF="https://www.saji8k.com/kit-fui/">Kit FUI</A></LI>
<LI><A HREF="http://yerf.metafur.org/date/1996-07-14">&quot;A hacker fox!&quot; [Xenia] - Alan Mackey</A></LI>
<LI><A HREF="http://weather.256k.net/snow/">Maine Snow Forecast</A></LI> <LI><A HREF="http://weather.256k.net/snow/">Maine Snow Forecast</A></LI>
<LI><A HREF="http://www.matranet.net/">MATRA Computer Automations</A></LI> <LI><A HREF="http://www.matranet.net/">MATRA Computer Automations</A></LI>
<LI><A HREF="http://mebious.co.uk/">mebious.co.uk entry wired</A></LI> <LI><A HREF="http://mebious.co.uk/">mebious.co.uk entry wired</A></LI>
@ -549,6 +548,7 @@ Oh well.
<LI><A HREF="http://debrouxl.github.io/gcc4ti/">GCC4TI Documentation</A></LI> <LI><A HREF="http://debrouxl.github.io/gcc4ti/">GCC4TI Documentation</A></LI>
<LI><A HREF="https://en.cppreference.com/w/c/language/history">History of C</A></LI> <LI><A HREF="https://en.cppreference.com/w/c/language/history">History of C</A></LI>
<LI><A HREF="https://geocar.sdf1.org/alloc.html">How to allocate memory</A></LI> <LI><A HREF="https://geocar.sdf1.org/alloc.html">How to allocate memory</A></LI>
<LI><A HREF="https://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html">A Regular Expression Matcher</A></LI>
<LI><A HREF="https://www.informit.com/articles/article.aspx?p=2036582&seqNum=5">String-Handling Functions</A></LI> <LI><A HREF="https://www.informit.com/articles/article.aspx?p=2036582&seqNum=5">String-Handling Functions</A></LI>
<LI><A HREF="https://stackoverflow.com/questions/3552095/sensible-line-buffer-size-in-c">Sensible line buffer size in C?</A></LI> <LI><A HREF="https://stackoverflow.com/questions/3552095/sensible-line-buffer-size-in-c">Sensible line buffer size in C?</A></LI>
<LI><A HREF="https://web.archive.org/web/20030812081713/http://klausler.com/cnotes.txt">Some things every C programmer should know about C</A></LI> <LI><A HREF="https://web.archive.org/web/20030812081713/http://klausler.com/cnotes.txt">Some things every C programmer should know about C</A></LI>
@ -617,11 +617,9 @@ Oh well.
<LI><A HREF="https://github.com/checkra1n/BugTracker/issues/1689">checkra1n 0.11.0 hangs or crashes on userland boot</A></LI> <LI><A HREF="https://github.com/checkra1n/BugTracker/issues/1689">checkra1n 0.11.0 hangs or crashes on userland boot</A></LI>
<LI><A HREF="https://byuu.net/video/color-emulation">Color Emulation</A></LI> <LI><A HREF="https://byuu.net/video/color-emulation">Color Emulation</A></LI>
<LI><A HREF="http://www.lemis.com/grog/Documentation/Lions/">Commentary on the Sixth Edition UNIX Operating System</A></LI> <LI><A HREF="http://www.lemis.com/grog/Documentation/Lions/">Commentary on the Sixth Edition UNIX Operating System</A></LI>
<LI><A HREF="https://www.linux.org/threads/common-pronunciations-of-linux-directories-commands-etc.4445/">Common pronunciations of Linux directories, commands, etc</A></LI>
<LI><A HREF="http://gordonbell.azurewebsites.net/computer_engineering/00000001.htm">Computer Engineering: A DEC View of Hardware Systems Design</A></LI> <LI><A HREF="http://gordonbell.azurewebsites.net/computer_engineering/00000001.htm">Computer Engineering: A DEC View of Hardware Systems Design</A></LI>
<LI><A HREF="http://csillustrated.berkeley.edu/">Computer Science Illustrated</A></LI> <LI><A HREF="http://csillustrated.berkeley.edu/">Computer Science Illustrated</A></LI>
<LI><A HREF="https://www.csee.umbc.edu/courses/471/papers/turing.pdf">Computing Machinery and Intelligence</A></LI> <LI><A HREF="https://www.csee.umbc.edu/courses/471/papers/turing.pdf">Computing Machinery and Intelligence</A></LI>
<LI><A HREF="https://datagubbe.se/twm/">Configurations for ctwm</A></LI>
<LI><A HREF="https://superuser.com/questions/1201670/is-it-possible-to-create-a-partition-that-is-usable-by-both-linux-and-windows-an#1201680">Create a Partition Accessable to Both Windows and Linux</A></LI> <LI><A HREF="https://superuser.com/questions/1201670/is-it-possible-to-create-a-partition-that-is-usable-by-both-linux-and-windows-an#1201680">Create a Partition Accessable to Both Windows and Linux</A></LI>
<LI><A HREF="https://ironpeak.be/blog/crouching-t2-hidden-danger/">Crouching T2 Hidden Danger</A></LI> <LI><A HREF="https://ironpeak.be/blog/crouching-t2-hidden-danger/">Crouching T2 Hidden Danger</A></LI>
<LI><A HREF="https://twitter.com/axi0mX/status/1313620262768635904">Crouching T2 Hidden Danger (axi0mX thread)</A></LI> <LI><A HREF="https://twitter.com/axi0mX/status/1313620262768635904">Crouching T2 Hidden Danger (axi0mX thread)</A></LI>

View File

@ -33,7 +33,7 @@ error(enum error_type type, char *argv0, char *file_name){
/* print input to output, returns 0 if successful and 1 if unsuccessful */ /* print input to output, returns 0 if successful and 1 if unsuccessful */
int int
file_copy(FILE *input, FILE *output){ file_copy(FILE *input, FILE *output){
char c; int c;
while((c = getc(input)) != EOF) while((c = getc(input)) != EOF)
if(putc(c, output) == EOF) if(putc(c, output) == EOF)
return 1; return 1;
@ -76,7 +76,7 @@ main(int argc, char *argv[]){
/* ignore `-u` if still parsing options */ /* ignore `-u` if still parsing options */
}else if(parsing_opts && !strcmp(argv[i], "-u")) }else if(parsing_opts && !strcmp(argv[i], "-u"))
continue; setbuf(output, (char *)NULL);
/* take `-` to mean standard input if still parsing options */ /* take `-` to mean standard input if still parsing options */
else if(parsing_opts && !strcmp(argv[i], "-")){ else if(parsing_opts && !strcmp(argv[i], "-")){