Commit Graph

31 Commits

Author SHA1 Message Date
Kim Woelders 72a86722a7 eesh: Fix clang-analyzer complaints
The -e and -ewait options haven't done anything a normal
non-interactive invocation does in ages.

Just ignore them and let the malloc'ing argument handling deal with it.
2020-01-29 16:39:39 +01:00
Kim Woelders 8f1bfc4f53 Fix warnings occurring in various situations 2020-01-23 20:29:05 +01:00
Kim Woelders c423cd13f6 Include potentially missing sys/select.h
Patch by Ingo Feinerer <feinerer@logic.at>:

the compilation of E16 fails on OpenBSD with following error message:

enlightenment-1.0.20/e16-1.0.20/eesh/main.c:90:4: error: use of undeclared identifier 'fd_set'
   fd_set              fd;
   ^

enlightenment-1.0.20/e16-1.0.20/eesh/main.c:227:2: warning: implicit declaration of function 'FD_ZERO' is invalid in C99 [-Wimplicit-function-declaration]
        FD_ZERO(&fd);
        ^

This is because FD_SET lives in the sys/select.h header in OpenBSD.

This seems to be the case on newer Linux systems as well:

https://linux.die.net/man/3/fd_set

 /* According to POSIX.1-2001 */
 #include <sys/select.h>
2019-07-30 17:30:02 +02:00
Lucas De Marchi 4d4401c5d3 Apply badzero.cocci, badnull.cocci and badnull2.cocci
Since badzero.cocci depends on coccinelle knowledge about a variable being a pointer
and about a function returning a pointer, maybe there are false negatives.



SVN revision: 51092
2010-08-13 17:04:13 +00:00
Kim Woelders 0112e3c675 eesh - Eliminate Alert function.
SVN revision: 42468
2009-09-13 13:45:52 +00:00
Kim Woelders e860b36218 Fix bad event loop causing hangs in certain situations.
Always wait for ack (also with -e), otherwise the message could get lost.


SVN revision: 31869
2007-09-29 16:39:33 +00:00
Kim Woelders 84ceafd71a Don't append newline to e16 ipc output.
SVN revision: 29441
2007-04-08 19:19:15 +00:00
Kim Woelders f53600e1e8 Cleanups, enable compiling everything as if it were C++.
SVN revision: 28022
2007-01-17 01:10:44 +00:00
Kim Woelders 83bcbbaee1 2007.
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders 056248c884 2006.
SVN revision: 19591
2006-01-07 07:20:58 +00:00
Kim Woelders 99d717e187 Copyright updates. More enlightenment->e16.
SVN revision: 13794
2005-03-19 16:40:18 +00:00
Kim Woelders 8d4a8ba6ce Simplify eesh, enable one-liners like "eesh wl a".
SVN revision: 12239
2004-11-21 22:11:09 +00:00
Kim Woelders 0805729ac0 Trim eesh.
SVN revision: 10659
2004-07-01 09:27:30 +00:00
Kim Woelders 3b1f6e7c72 Enable compiling with -Wwrite-strings (trivial fixups).
SVN revision: 9414
2004-03-21 01:39:40 +00:00
Kim Woelders 8fcde94579 Remove unused code, enable compiling with -Wshadow.
SVN revision: 9407
2004-03-20 15:36:32 +00:00
Kim Woelders f43c79641d Renamed duplicate to Estrdup, introduced Estrndup.
SVN revision: 9148
2004-02-28 15:14:02 +00:00
Kim Woelders b13252e346 Good bye __EMX__.
SVN revision: 9028
2004-02-18 22:18:41 +00:00
Kim Woelders 2328bcb7c9 2003 -> 2004.
SVN revision: 8569
2004-01-19 22:30:35 +00:00
Kim Woelders 3da03b6dc9 Copyrights->2003.
SVN revision: 7807
2003-11-05 17:24:47 +00:00
Kim Woelders 112b31372e Sun Aug 17 15:28:17 CEST 2003
(Kim)

Removed possibility to use readline in eesh (readline is GPL, not LGPL).


SVN revision: 7335
2003-08-17 13:30:37 +00:00
Kim Woelders cdd2a408a9 Added possibility to use readline in eesh (--with-readline, default off).
SVN revision: 7331
2003-08-17 10:11:50 +00:00
Mandrake b1228e176b a few more fixes.
SVN revision: 2392
2000-03-31 02:25:12 +00:00
Mandrake 6d72646f2c Thu Feb 17 11:11:46 PST 2000
(Mandrake)

removed some warnings, still a few left in dox/file.c


SVN revision: 2086
2000-02-17 18:59:31 +00:00
Mandrake 2c23624373 Thu Feb 17 11:02:30 PST 2000
(Mandrake)

patch from Bob Arendt <rdarendt@cwcom.net> to fix a problem in eesh with tru64


SVN revision: 2085
2000-02-17 18:50:18 +00:00
Michael Jennings f44ec37f4b Oops, forgot this one.
SVN revision: 1996
2000-01-28 22:25:16 +00:00
Mandrake 2e91eb988f updated copyright to 2000
SVN revision: 1867
2000-01-06 09:10:15 +00:00
Carsten Haitzler ae9b605c05 add #ifdef
SVN revision: 853
1999-10-18 17:49:21 +00:00
Carsten Haitzler 72a72f4be0 Os/2 ppacthes
SVN revision: 847
1999-10-18 17:40:47 +00:00
Carsten Haitzler 5b653f6272 copyright..............
SVN revision: 649
1999-10-04 21:52:39 +00:00
Carsten Haitzler 7692d897cc add -display option for eesh patch
SVN revision: 360
1999-09-22 02:16:37 +00:00
Carsten Haitzler c79f01a1d9 re-importing E after cvs failure to comply with orders... thus it DIED!
SVN revision: 37
1999-08-17 22:56:46 +00:00