~vcs-imports/cdrkit/trunk

« back to all changes in this revision

Viewing changes to readom/readom.c

  • Committer: peters
  • Date: 2009-10-11 21:31:30 UTC
  • Revision ID: svn-v4:a95a6be8-091b-0410-adaf-d31e6857962f:cdrkit/trunk:836
Add a rols_ prefix to getline, fgetline, and the fexec family from librols.
Prevents some more clashes with POSIX.

I note that phasing out librols/stdio (and maybe more of librols)
entirely would probably be better, but that is for another day.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1605
1605
                fprintf(stderr, "Copy from SCSI (%d,%d,%d) disk to file\n",
1606
1606
                                        usal_scsibus(usalp), usal_target(usalp), usal_lun(usalp));
1607
1607
                fprintf(stderr, "Enter filename [%s]: ", defname); flush();
1608
 
                (void) getline(filename, sizeof (filename));
 
1608
                (void) rols_getline(filename, sizeof (filename));
1609
1609
        }
1610
1610
 
1611
1611
        if (askrange) {
1772
1772
                fprintf(stderr, "Copy from file to SCSI (%d,%d,%d) disk\n",
1773
1773
                                        usal_scsibus(usalp), usal_target(usalp), usal_lun(usalp));
1774
1774
                fprintf(stderr, "Enter filename [%s]: ", defname); flush();
1775
 
                (void) getline(filename, sizeof (filename));
 
1775
                (void) rols_getline(filename, sizeof (filename));
1776
1776
                fprintf(stderr, "Notice: reading from file always starts at file offset 0.\n");
1777
1777
 
1778
1778
                getlong("Enter starting sector for copy:", &addr, 0L, end-1);