Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
minicom
minicom-2.5-serial_device_path_length.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File minicom-2.5-serial_device_path_length.patch of Package minicom
Index: minicom-2.6.2/src/configsym.h =================================================================== --- minicom-2.6.2.orig/src/configsym.h +++ minicom-2.6.2/src/configsym.h @@ -35,7 +35,7 @@ * jl 10.02.2000 parameter P_STOPB */ -#define PARS_VAL_LEN 128 +#define PARS_VAL_LEN 256 struct pars { /* value is first, so that (char *)mpars[0] == mpars[0].value */ Index: minicom-2.6.2/src/config.c =================================================================== --- minicom-2.6.2.orig/src/config.c +++ minicom-2.6.2/src/config.c @@ -567,7 +567,7 @@ static void doserial(void) mc_wclose(w, 1); return; case 'A': - pgets(w, mbslen (serial_device) + 1, 0, P_PORT, 64, 64, 1); + pgets(w, mbslen (serial_device) + 1, 0, P_PORT, PARS_VAL_LEN, PARS_VAL_LEN, 1); break; #if !HAVE_LOCKDEV case 'B':
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor