old edits uncommitted
This commit is contained in:
parent
18b8f57f04
commit
d255de5940
@ -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="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="http://yerf.metafur.org/date/1996-07-14">"A hacker fox!" [Xenia] - Alan Mackey</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://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="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://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://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>
|
||||
@ -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://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="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://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://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://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>
|
||||
|
@ -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 */
|
||||
int
|
||||
file_copy(FILE *input, FILE *output){
|
||||
char c;
|
||||
int c;
|
||||
while((c = getc(input)) != EOF)
|
||||
if(putc(c, output) == EOF)
|
||||
return 1;
|
||||
@ -76,7 +76,7 @@ main(int argc, char *argv[]){
|
||||
|
||||
/* ignore `-u` if still parsing options */
|
||||
}else if(parsing_opts && !strcmp(argv[i], "-u"))
|
||||
continue;
|
||||
setbuf(output, (char *)NULL);
|
||||
|
||||
/* take `-` to mean standard input if still parsing options */
|
||||
else if(parsing_opts && !strcmp(argv[i], "-")){
|
||||
|
Loading…
Reference in New Issue
Block a user