Brian Callahan

Results 84 comments of Brian Callahan

Here is a diff that fixes things. It also has some additional tweaks to cope with the differences between FreeBSD and OpenBSD. I hope the intent is clear. [ogit-fix-buffers.txt](https://github.com/khanzf/opengit/files/2924601/ogit-fix-buffers.txt)

gcc-8.3.0 still has a lot to say about things. Build log without -Wall: ``` egcc -O0 -pipe -I/usr/local/include -c /home/brian/opengit/ogit.c egcc -O0 -pipe -I/usr/local/include -c /home/brian/opengit/lib/ini.c /home/brian/opengit/lib/ini.c: In function 'ini_get_config':...

> > Thank you very much for the comments. > > Can you please verify that this ([f7eb0d2](https://github.com/khanzf/opengit/commit/f7eb0d21ebaa25af33c9238afab05c469ecd7922)) is the right direction I should be headed? The problem I frequently...

Not quite. It's not a blind replacement. See the ogit-fix-buffers.txt file earlier in the thread for a diff. Note where I choose to use OGIT_BUFSIZE. And, more importantly, where I...

By the way, you need to check and cap the `repodir` variable in `init.c`.

Nope. It's far earlier than that. It looks like it goes back to the June 9 commits.

Hi @gavinhoward. I noticed no one ever added your implementation to Wikipedia, so I did so just now: https://en.wikipedia.org/w/index.php?title=Bc_%28programming_language%29&diff=1229412563&oldid=1208795745

What OS are you on?

The toolchain support was never completed. The most robust piece is going to be the assembler. As you see, pcc is able to compile C code down to MIPS assembly,...

The original BSD C compiler **is** pcc. Also, you know that in order to port a compiler, you have to write a backend, right? As in, the part that outputs...