Tim Ruehsen
38a7829dcb
Fix compiler warnings
2014-05-12 12:18:50 +02:00
Darshit Shah
97787110a2
Fix compiler warnings
2014-03-26 12:38:39 +01:00
Bykov Aleksey
8b2954e58a
Fix FTP list parsing & Fix cookies reject
2013-10-28 00:26:58 +01:00
Tomas Hozza
c9c0e4c641
Fix using deadcode and possible use of NULL pointer
...
Fix for deadcode in unique_create() so that "opened_name" parameter is
always initialized to a valid string or NULL when returning from
function.
Fix for redirect_output() so that "logfile" is not blindly used in
fprintf() call and checked if it is not NULL.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-07-10 23:04:25 +02:00
Tim Ruehsen
099d8ee3da
replaced read_whole_file() by getline()
2013-05-17 20:19:02 +02:00
Tim Ruehsen
e976d4f3dc
src/utils.c cleanup
2013-05-12 21:41:07 +02:00
Giuseppe Scrivano
22bd8011e8
Fallback to PATH_MAX when pathconf is not available
2012-10-07 13:09:56 +02:00
Tim Ruehsen
67e6027ea1
Add support for file names longer than MAX_FILE.
2012-09-29 13:47:53 +02:00
Giuseppe Scrivano
96418c6885
Rename --bits to --report-bps.
2012-06-06 14:10:07 +02:00
Tim Ruehsen
321b5dce85
* fix a few little dissonances
2012-06-04 22:05:40 +02:00
Gijs van Tulder
f5a1097871
Add support for -accept-regex and --reject-regex.
2012-05-09 21:18:23 +02:00
Tim Ruehsen
2ffc383654
activate itimer support.
2012-03-29 20:13:27 +02:00
Giuseppe Scrivano
6533cf2452
Assume some headers files provided by gnulib are always present.
2012-03-25 17:49:55 +02:00
Sasikantha Babu
b9b510ca5f
Accept --bit option
2012-03-05 22:23:06 +01:00
Steven Schweda
8c7bd588fe
Fix some problems under VMS.
2011-10-23 13:11:22 +02:00
Giuseppe Scrivano
5e3c9b55f2
Prefers utime over futimens when available.
2011-08-25 11:41:51 +02:00
Giuseppe Scrivano
3382df979c
Use sigprocmask instead of sigsetmask.
2011-08-11 14:23:39 +02:00
Giuseppe Scrivano
9b21660d70
Accept always the file if it is the specified output destination.
2011-08-05 22:39:55 +02:00
Giuseppe Scrivano
87a176daa7
Use futimens instead of utimes.
2011-04-19 12:33:46 +02:00
Giuseppe Scrivano
179dacd735
Use utimes instead of utime.
2011-04-18 14:37:42 +02:00
Giuseppe Scrivano
2f6aa1d741
mass change: update copyright years.
2011-01-01 13:19:37 +01:00
Giuseppe Scrivano
9ae052b1e2
Remove redundant guard.
2010-12-01 13:15:13 +01:00
Giuseppe Scrivano
cf3c678c82
Rename two functions.
2010-07-09 12:24:51 +02:00
Giuseppe Scrivano
293008f682
Mass update copyright years.
2010-05-08 21:56:15 +02:00
Steven Schweda
3f01333ca6
imported patch vms-carat
2010-01-09 15:24:02 -08:00
Micah Cowan
4a08094db8
[mq]: cfg-mk
2009-09-21 20:39:44 -07:00
Steven Schweda
5ef1d7b949
Fixes needed for VMS.
2009-09-11 19:41:57 -07:00
Micah Cowan
b9e9ad65cc
Ran update-copyright.
2009-09-04 00:13:47 -07:00
Micah Cowan
d5e283b1a7
Automated merge.
2009-07-04 15:32:57 -07:00
Micah Cowan
48b53471e8
Henri's -Wall patch.
2008-05-30 22:42:36 -07:00
Micah Cowan
e72b57629b
Merge quote module stuff with current mainline.
2008-05-15 19:13:08 -07:00
Micah Cowan
6c16fe9225
Ensure that dir matches aren't mere prefix matches.
2008-04-23 00:05:27 -07:00
Micah Cowan
714ccdcd84
Steven Schweda's VMS patch.
2008-04-22 14:48:36 -07:00
Steven Schubiger
2c77220411
Undo the USE_GNULIB_ALLOC defines.
2008-04-20 11:46:52 +02:00
Steven Schubiger
d79719be09
Move memfatal() to utils.c.
2008-04-19 21:13:38 +02:00
Steven Schubiger
76780021d8
Use Gnulib's alloc functions throughout the source.
2008-04-19 01:21:24 +02:00
Steven Schubiger
3e34be1c4b
Use Gnulib's quote function in utils.c.
2008-04-16 12:35:03 +02:00
Micah Cowan
0a0d73a03f
Automated merge.
2008-04-12 23:21:09 -07:00
Micah Cowan
4f50138792
Back out quieting of background message: need the pid.
2008-04-12 23:20:28 -07:00
Micah Cowan
977bb27639
Fix quiet -> opt.quiet.
2008-04-12 23:12:35 -07:00
Micah Cowan
458eb3b8ce
Don't want to close log if an explicit -o was given. Let reopen to /dev/null handle any potential logging we'd do in --quiet.
2008-04-12 23:10:47 -07:00
Micah Cowan
1a41bc067c
Automated merge.
2008-04-12 22:46:55 -07:00
Micah Cowan
7783870db1
Don't create a logfile for --background if we're --quiet.
2008-04-12 22:45:45 -07:00
Micah Cowan
667f4578a5
Minor formatting adjustments.
2008-04-12 13:09:43 -07:00
Alexander Dergachev
0e7917cda7
* utils.c (aprintf): print log message and abort if we have too big text buffer.
2008-04-12 19:13:23 +04:00
Alexander Dergachev
311f76645f
* utils.c (aprintf): Now we are setting limits (1 Mb) for text buffer when we use non-C99 vsnprintf.
2008-04-11 23:52:57 +04:00
Alexander Dergachev
79bd3057b1
aprintf is calling memfatal function now instead of calling abort function
...
for consistency with xmalloc/xrealloc
2008-04-09 22:27:58 +04:00
Micah Cowan
aed227e903
More tests for directory include/exclude.
2008-03-19 15:48:54 -07:00
Micah Cowan
e95867e6cc
Deal with progress bars in environs lacking mbtowc or wcwidth.
2008-02-06 18:10:24 -08:00
Micah Cowan
bc8f473272
Updated copyright year.
2008-01-25 05:04:01 -08:00