Commit Graph

11 Commits

Author SHA1 Message Date
Carsten Haitzler 5cc02d6467 Bring back e_sys just for mount, unmount and eject
This reverts commit a43869cdc0.

I still need this for efm... i forgot... :( So bring back the bits we
need until it's no longer needed...
2020-01-16 23:13:52 +00:00
Carsten Haitzler a43869cdc0 e_sys -> move from enlightenment_sys to e_system 2020-01-15 11:33:55 +00:00
Carsten Haitzler e41d5e11bb e sys l2ping - report errors on fcntl failure
fix CID 1403933
2019-08-06 18:55:28 +01:00
Carsten Haitzler a536c8a6a2 e sys l2ping - check connect return for failures
fix CID 1403952
2019-08-06 18:21:29 +01:00
Carsten Haitzler ccd0da5f02 e sys l2ping - close socket fd on error to be clean
fix CID 1403954
2019-08-06 12:54:28 +01:00
Carsten Haitzler d68cb82a32 e - expand printf to use unused params to silence warning
if bluetooth not found we get warnings. silence!
2019-01-12 11:03:10 +00:00
Carsten Haitzler 959b041e12 e_sys - fix l2ping code to work and actually properly ping
it wasn't working. first response may not be a 200 ident so keep
looking for them. also send a bit more than 1 byte to be sure, and
chekc the response is what we sent to be sure. also enforce a timeout
(10sec here) where we give up so it doesn't hang possibly forever.
all in all l2ping in e_sys works again. now. in the process i added a
timeout param too.

@fix
2018-12-15 16:13:23 +00:00
Chris Michael cc919670fd Remove unused variables.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 12:44:26 +01:00
Cedric BAIL 07b5d9fe6c dear Mike,
If you just want to silence your warning remove all -W from your CFLAGS and
take your revenge back to your compiler. Introducing bugs to just silent warning
is not gona help any one.

The borker,
  Cedric
2013-03-21 10:04:32 +09:00
Mike Blumenkrantz 605f781e36 dear cedric,
fucking compile things before you commit.

your vengeful buddy,
mike
2013-03-20 08:36:14 +00:00
Cedric Bail 2f6fcf4228 e: add automatic desktop lock/unlock when a bluetooth device disapear.
This use a custom implementation of l2ping to ping known device and do
proper action when they go away. I don't recommend to use the auto unlonck,
but it is there if someone need it.
2013-03-18 00:07:34 +09:00