Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 128899
Collapse All | Expand All

(-)wput.orig/Makefile.in (-4 / +4 lines)
Lines 15-24 Link Here
15
15
16
install: all
16
install: all
17
	cd po && $(MAKE) $(MAKEDEFS) $@
17
	cd po && $(MAKE) $(MAKEDEFS) $@
18
	install -d $(bindir) wput
18
	install -d $(DESTDIR)$(bindir)
19
	install -m0755 wput $(bindir)
19
	install -m0755 wput $(DESTDIR)$(bindir)
20
	install -d $(mandir) doc/wput.1.gz
20
	install -d $(DESTDIR)$(mandir)
21
	install -m0644 doc/wput.1.gz $(mandir)
21
	install -m0644 doc/wput.1.gz $(DESTDIR)$(mandir)
22
	@echo "----------------"
22
	@echo "----------------"
23
	@echo "Wput installed. See 'wput -h' or 'man wput' for usage information."
23
	@echo "Wput installed. See 'wput -h' or 'man wput' for usage information."
24
	@echo "Further documentation is located in the doc/USAGE.* files."
24
	@echo "Further documentation is located in the doc/USAGE.* files."
(-)wput.orig/src/ftp.c (-2 / +2 lines)
Lines 88-94 Link Here
88
 * path and change there again */
88
 * path and change there again */
89
/* error-levels: ERR_RECONNECT, ERR_FAILED, ERR_SKIP (failed for '/'), 1 */
89
/* error-levels: ERR_RECONNECT, ERR_FAILED, ERR_SKIP (failed for '/'), 1 */
90
int try_do_cwd(ftp_con * ftp, char * path, int mkd) {
90
int try_do_cwd(ftp_con * ftp, char * path, int mkd) {
91
	int res;
91
	int res = -1;
92
	if(!strcmp(path, "."))
92
	if(!strcmp(path, "."))
93
		return mkd;
93
		return mkd;
94
	if(!strcmp(path, ".."))
94
	if(!strcmp(path, ".."))
Lines 201-207 Link Here
201
}
201
}
202
202
203
int open_input_file(_fsession * fsession) {
203
int open_input_file(_fsession * fsession) {
204
	int fd;
204
	int fd = -1;
205
	int oflags = O_RDONLY;
205
	int oflags = O_RDONLY;
206
	char * cmd;
206
	char * cmd;
207
	FILE * pipe;
207
	FILE * pipe;
(-)wput.orig/src/ftp-ls.c (+5 lines)
Lines 42-47 Link Here
42
#include <sys/types.h>
42
#include <sys/types.h>
43
#include <errno.h>
43
#include <errno.h>
44
44
45
#ifndef _XOPEN_SOURCE
46
# define _XOPEN_SOURCE
47
#endif
48
#include <time.h>
49
45
#include "wget.h"
50
#include "wget.h"
46
#include "utils.h"
51
#include "utils.h"
47
#include "ftp.h"
52
#include "ftp.h"

Return to bug 128899