Project

General

Profile

Bug #452 ยป bip-452.patch

Pavel Lishin, 2015-06-04 03:58

View differences:

.gitignore
# Automake-generated files
Makefile
Makefile.in
aclocal.m4
autom4te.cache
compile
config.log
config.status
configure
depcomp
install-sh
missing
src/.deps/
src/.dirstamp
src/conf.c
src/conf.h
src/conf.o
src/config.h
src/config.h.in
src/lex.c
src/lex.o
src/stamp-h1
ylwrap
INSTALL
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`aclocal && autoheader && autoreconf --install' to generate the
configure file.
2. Type `./configure' to configure the package for your system. If
you're using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
......
3. Optionally, type `make check' to run any self-tests that come with
the package.
(If you get an error that looks like this:
src/connection.c: In function 'tmp_dh_cb':
src/connection.c:1121:22: error: unused parameter 'ssl_unused' [-Werror=unused-parameter]
cc1: all warnings being treated as errors
make[1]: *** [src/connection.o] Error 1
install autoconf-archive.)
4. Type `make install' to install the programs and any data files and
documentation.
-
.gitignore
src/.dirstamp
src/conf.c
src/conf.h
src/conf.o
src/config.h
src/config.h.in
src/lex.c
src/lex.o
src/stamp-h1
ylwrap
# Generated object files
src/*.o
# Generated binaries
src/bip
src/bipmkpw
-
src/bip.c
else
pid = getpid();
snprintf(buf, 29, "%ld\n", (long unsigned int)pid);
write(fd, buf, strlen(buf));
UNUSED(int bytes_written) = write(fd, buf, strlen(buf));
close(fd);
bip.listener = listen_new(conf_ip, conf_port, conf_css);
src/bipmkpw.c
exit(1);
}
write(ttyfd, "Password: ", 10);
UNUSED(int bytes_written) = write(ttyfd, "Password: ", 10);
int idx = 0;
int valid = 1;
while (idx < buflen) {
read(ttyfd, buffer+idx, 1);
UNUSED(int bytes_read) = read(ttyfd, buffer+idx, 1);
if (buffer[idx] == '\n') {
buffer[idx] = 0;
break;
......
idx++;
}
write(ttyfd, "\n", 1);
bytes_written = write(ttyfd, "\n", 1);
tcsetattr(ttyfd, TCSANOW, &ttback);
close(ttyfd);
src/irc.c
ret = irc_mode_channel(server, channel, line, mode, add,
cur_arg);
}
if (ret == ERR_PROTOCOL)
return ret;
}
}
if (ret == ERR_PROTOCOL)
return ret;
}
return OK_COPY;
}
    (1-1/1)