Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove util and compat #193

Merged
merged 18 commits into from Jun 29, 2018
Merged

Conversation

Labels
None yet
Projects
None yet
4 participants
@nmathewson
Copy link
Contributor

@nmathewson nmathewson commented Jun 29, 2018

No description provided.

.gitignore Outdated
@@ -195,6 +195,8 @@ uptime-*.json
/src/lib/libtor-meminfo-testing.a
/src/lib/libtor-net.a
/src/lib/libtor-net-testing.a
/src/lib/libtor-osinfo.a
/src/lib/libtor-osinfo-testing.a
Copy link
Contributor

@dgoulet-tor dgoulet-tor Jun 29, 2018

So here is an idea. How about we have an "os" library for which we could put all the things we use to interact with the operating system.

I'm thinking about this get_uname() but also, set file desc, get available memory, etc... ?

Copy link
Contributor Author

@nmathewson nmathewson Jun 29, 2018

Hm. I'm not so sure there. Isn't everything that ends in a syscall "something that interacts with the operating system?"

@@ -54,6 +54,7 @@ COMMONHEADERS = \
src/common/compat_libevent.h \
src/common/handles.h \
src/common/procmon.h \
src/common/socks5_status.h \
Copy link
Contributor

@dgoulet-tor dgoulet-tor Jun 29, 2018

To respond to the commit message, my guts feeling tells me that we probably want a socks5 library at some point for which it should be (I think!) only visible to the "tor client" component.

Copy link
Contributor Author

@nmathewson nmathewson Jun 29, 2018

Yeah, I agree

@coveralls
Copy link

@coveralls coveralls commented Jun 29, 2018

Coverage Status

Coverage decreased (-0.01%) to 59.875% when pulling 6ac64e1 on nmathewson:remove_util_and_compat into f0319fc on torproject:master.

@tor-bot tor-bot merged commit 6ac64e1 into torproject:master Jun 29, 2018
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment